Originally committed as revision 14386 to svn://svn.ffmpeg.org/ffmpeg/trunk
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;
}
h->mmco[1].short_pic_num= h->mmco[0].short_pic_num + 1;
h->mmco_index= 2;
}
- }else
- h->mmco_index= 0;
+ }
}
}