Mercurial > libavcodec.hg
diff h264_cabac.c @ 11191:5e583a785508 libavcodec
Move check for and call of predict_field_decoding_flag() from the mb code to
the row code. This function would only be needed on a MB basis for MBAFF+FMO
author | michael |
---|---|
date | Wed, 17 Feb 2010 02:14:02 +0000 |
parents | afc60af2d008 |
children | 4e2d74d7bad8 |
line wrap: on
line diff
--- a/h264_cabac.c Tue Feb 16 23:43:08 2010 +0000 +++ b/h264_cabac.c Wed Feb 17 02:14:02 2010 +0000 @@ -1196,8 +1196,6 @@ if( h->slice_type_nos != FF_I_TYPE ) { int skip; /* a skipped mb needs the aff flag from the following mb */ - if( FRAME_MBAFF && s->mb_x==0 && (s->mb_y&1)==0 ) - predict_field_decoding_flag(h); if( FRAME_MBAFF && (s->mb_y&1)==1 && h->prev_mb_skipped ) skip = h->next_mb_skipped; else