]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_sei.c
threads: always include necessary headers for number of CPUs detection
[ffmpeg] / libavcodec / h264_sei.c
index de0b19a6732cf4fa9561384cbdce549b23082285..4f52bbe969f3307967eb411d30e40e05d2b71d07 100644 (file)
@@ -2,25 +2,25 @@
  * H.26L/H.264/AVC/JVT/14496-10/... sei decoding
  * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
  *
- * This file is part of FFmpeg.
+ * This file is part of Libav.
  *
- * FFmpeg is free software; you can redistribute it and/or
+ * Libav is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2.1 of the License, or (at your option) any later version.
  *
- * FFmpeg is distributed in the hope that it will be useful,
+ * Libav is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with FFmpeg; if not, write to the Free Software
+ * License along with Libav; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
- * @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)