diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-04-17 16:41:37 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-04-17 16:41:37 +0400 |
commit | 03d5ea54c1238b9a7e6c540a240050637f6d6e52 (patch) | |
tree | c595989989fd8301b93c6d5a7cc908cd4e9a8f0d /libavcodec/msmpeg4.c | |
parent | d728e3cd2883da3a5f4067082d2641c228ed9c66 (diff) |
Get rid of an unused variable, found by the clang static analyzer.
Originally committed as revision 18544 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r-- | libavcodec/msmpeg4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index a46eb67221..11d5ea4a0a 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -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; |