Commit dfbd7f0c authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18544 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a610831f
...@@ -1180,14 +1180,14 @@ return -1; ...@@ -1180,14 +1180,14 @@ return -1;
#endif #endif
if(s->msmpeg4_version==1){ 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); start_code = (get_bits(&s->gb, 16)<<16) | get_bits(&s->gb, 16);
if(start_code!=0x00000100){ if(start_code!=0x00000100){
av_log(s->avctx, AV_LOG_ERROR, "invalid startcode\n"); av_log(s->avctx, AV_LOG_ERROR, "invalid startcode\n");
return -1; 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; s->pict_type = get_bits(&s->gb, 2) + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment