summaryrefslogtreecommitdiff
path: root/libavcodec/h264_sei.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-03-21 22:23:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-03-21 22:23:37 +0000
commite1c9d266a2dc7d62bf57f986b288a7e15c865d0e (patch)
treee038dc478714b64769d09165bd6d744e17dbc9d5 /libavcodec/h264_sei.c
parentbb45237e11d023a7ae35e993e6282b5db0db67cf (diff)
Ignore x264 build=0 as there is no such version, this restores previous
behavior approximately. Originally committed as revision 22628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_sei.c')
-rw-r--r--libavcodec/h264_sei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index de0b19a673..850060875d 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -109,7 +109,7 @@ static int decode_unregistered_user_data(H264Context *h, int size){
user_data[i]= 0;
e= sscanf(user_data+16, "x264 - core %d"/*%s - H.264/MPEG-4 AVC codec - Copyleft 2005 - http://www.videolan.org/x264.html*/, &build);
- if(e==1 && build>=0)
+ if(e==1 && build>0)
h->x264_build= build;
if(s->avctx->debug & FF_DEBUG_BUGS)