diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-08-03 13:00:39 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-08-03 13:00:39 +0000 |
commit | 44e9dcf13abc4ddcc063f3a1cd4260de820e1127 (patch) | |
tree | 93e1e215641253eac11d19ffe2a042853320cc83 /libavcodec/h264.c | |
parent | 19759c9a360bf9eda6b1bc1cef2a23177740e402 (diff) | |
download | ffmpeg-44e9dcf13abc4ddcc063f3a1cd4260de820e1127.tar.gz |
mb_field_decoding_flag was not initialized
Fixes at least:
MR7_BT_B.h264
Sharp_MP_PAFF_1r2.jvt
Sharp_MP_PAFF_2.jvt
Originally committed as revision 14518 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 24ba9d95b6..6e8dd617f5 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3812,6 +3812,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ h->mb_aff_frame = h->sps.mb_aff; } } + h->mb_field_decoding_flag= s->picture_structure != PICT_FRAME; if(h0->current_slice == 0){ while(h->frame_num != h->prev_frame_num && |