changeset 11526:75a2c166f11a libavcodec

Ignore x264 build=0 as there is no such version, this restores previous behavior approximately.
author michael
date Sun, 21 Mar 2010 22:23:37 +0000
parents 892d04e7c4e5
children 9bd282dec604
files h264_sei.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264_sei.c	Sun Mar 21 16:34:01 2010 +0000
+++ b/h264_sei.c	Sun Mar 21 22:23:37 2010 +0000
@@ -109,7 +109,7 @@
 
     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)