diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-17 05:14:02 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-17 05:14:02 +0300 |
commit | 69cc31832f47f00be8cac9c2c97a04ebb4844dec (patch) | |
tree | 6a6c7536323b69f913c353aec244a7c3b2a38bb0 /libavcodec/h264_cabac.c | |
parent | 59f733d1b1814ff7e2ead43415bb4b89cbed4b0f (diff) |
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
Originally committed as revision 21860 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r-- | libavcodec/h264_cabac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index 45a96506af..1479697814 100644 --- a/libavcodec/h264_cabac.c +++ b/libavcodec/h264_cabac.c @@ -1196,8 +1196,6 @@ int ff_h264_decode_mb_cabac(H264Context *h) { 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 |