[FFmpeg-cvslog] r18544 - trunk/libavcodec/msmpeg4.c

michael subversion
Fri Apr 17 14:41:37 CEST 2009


Author: michael
Date: Fri Apr 17 14:41:37 2009
New Revision: 18544

Log:
Get rid of an unused variable, found by the clang static analyzer.

Modified:
   trunk/libavcodec/msmpeg4.c

Modified: trunk/libavcodec/msmpeg4.c
==============================================================================
--- trunk/libavcodec/msmpeg4.c	Fri Apr 17 14:37:39 2009	(r18543)
+++ trunk/libavcodec/msmpeg4.c	Fri Apr 17 14:41:37 2009	(r18544)
@@ -1180,14 +1180,14 @@ return -1;
 #endif
 
     if(s->msmpeg4_version==1){
-        int start_code, num;
+        int start_code;
         start_code = (get_bits(&s->gb, 16)<<16) | get_bits(&s->gb, 16);
         if(start_code!=0x00000100){
             av_log(s->avctx, AV_LOG_ERROR, "invalid startcode\n");
             return -1;
         }
 
-        num= get_bits(&s->gb, 5); // frame number */
+        skip_bits(&s->gb, 5); // frame number */
     }
 
     s->pict_type = get_bits(&s->gb, 2) + 1;



More information about the ffmpeg-cvslog mailing list