Commit 35d51760 authored by michael's avatar michael

Remove redundant h->mmco_index= 0.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14386 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fde0c9cb
......@@ -3633,9 +3633,7 @@ static int decode_ref_pic_marking(H264Context *h, GetBitContext *gb){
if(h->nal_unit_type == NAL_IDR_SLICE){ //FIXME fields
s->broken_link= get_bits1(gb) -1;
h->mmco[0].long_arg= get_bits1(gb) - 1; // current_long_term_idx
if(h->mmco[0].long_arg == -1)
h->mmco_index= 0;
else{
if(h->mmco[0].long_arg != -1){
h->mmco[0].opcode= MMCO_LONG;
h->mmco_index= 1;
}
......@@ -3683,8 +3681,7 @@ static int decode_ref_pic_marking(H264Context *h, GetBitContext *gb){
h->mmco[1].short_pic_num= h->mmco[0].short_pic_num + 1;
h->mmco_index= 2;
}
}else
h->mmco_index= 0;
}
}
}
......
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