[FFmpeg-cvslog] r22628 - trunk/libavcodec/h264_sei.c

michael subversion
Sun Mar 21 23:23:37 CET 2010


Author: michael
Date: Sun Mar 21 23:23:37 2010
New Revision: 22628

Log:
Ignore x264 build=0 as there is no such version, this restores previous
behavior approximately.

Modified:
   trunk/libavcodec/h264_sei.c

Modified: trunk/libavcodec/h264_sei.c
==============================================================================
--- trunk/libavcodec/h264_sei.c	Sun Mar 21 19:06:56 2010	(r22627)
+++ trunk/libavcodec/h264_sei.c	Sun Mar 21 23:23:37 2010	(r22628)
@@ -109,7 +109,7 @@ static int decode_unregistered_user_data
 
     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)



More information about the ffmpeg-cvslog mailing list