changeset 9455:6cb61c6220c3 libavcodec

Get rid of an unused variable, found by the clang static analyzer.
author michael
date Fri, 17 Apr 2009 12:41:37 +0000
parents 7db61b0d21f9
children 9e02b59f53ed
files msmpeg4.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/msmpeg4.c	Fri Apr 17 08:43:04 2009 +0000
+++ b/msmpeg4.c	Fri Apr 17 12:41:37 2009 +0000
@@ -1180,14 +1180,14 @@
 #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;