]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_sei.c
oggparsevorbis: Add some sanity checks to header packet ordering/presence.
[ffmpeg] / libavcodec / h264_sei.c
index de0b19a6732cf4fa9561384cbdce549b23082285..195ea2856fba90014a23ba48fed17368bf0bf71c 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file libavcodec/h264-sei.c
+ * @file
  * H.264 / AVC / MPEG4 part10 sei decoding.
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
@@ -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)