mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
Remove useless mb_field_decoding_flag setting code that was at the wrong spot.
Originally committed as revision 14519 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
44e9dcf13a
commit
aa6de49e95
@ -4348,8 +4348,7 @@ static int decode_mb_cavlc(H264Context *h){
|
||||
if(FRAME_MBAFF){
|
||||
if( (s->mb_y&1) == 0 )
|
||||
h->mb_mbaff = h->mb_field_decoding_flag = get_bits1(&s->gb);
|
||||
}else
|
||||
h->mb_field_decoding_flag= (s->picture_structure!=PICT_FRAME);
|
||||
}
|
||||
|
||||
h->prev_mb_skipped= 0;
|
||||
|
||||
@ -5467,8 +5466,7 @@ static int decode_mb_cabac(H264Context *h) {
|
||||
if( (s->mb_y&1) == 0 )
|
||||
h->mb_mbaff =
|
||||
h->mb_field_decoding_flag = decode_cabac_field_decoding_flag(h);
|
||||
}else
|
||||
h->mb_field_decoding_flag= (s->picture_structure!=PICT_FRAME);
|
||||
}
|
||||
|
||||
h->prev_mb_skipped = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user