diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-07-31 10:51:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-07-31 10:51:04 +0000 |
commit | 5aa083eec1d89cf1aadb3260ea1826dbea0b3845 (patch) | |
tree | c71acef323cc5f696b4a0ccf07a637a4c69379cf /libavcodec/h263.c | |
parent | e53222d19b8dd42ac8c4c396369eb3bc3b41742a (diff) | |
download | ffmpeg-5aa083eec1d89cf1aadb3260ea1826dbea0b3845.tar.gz |
A.B.C versions
Originally committed as revision 4486 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 870bcbf284..c9d746d648 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -5767,6 +5767,10 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){ if(e!=4) e=sscanf(buf, "FFmpeg v%d.%d.%d / libavcodec build: %d", &ver, &ver2, &ver3, &build); if(e!=4){ + e=sscanf(buf, "Lavc%d.%d.%d", &ver, &ver2, &ver3)+1; + build= (ver<<16) + (ver2<<8) + ver3; + } + if(e!=4){ if(strcmp(buf, "ffmpeg")==0){ s->lavc_build= 4600; } |