summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-08-03 13:00:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-03 13:00:39 +0000
commit44e9dcf13abc4ddcc063f3a1cd4260de820e1127 (patch)
tree93e1e215641253eac11d19ffe2a042853320cc83 /libavcodec
parent19759c9a360bf9eda6b1bc1cef2a23177740e402 (diff)
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')
-rw-r--r--libavcodec/h264.c1
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 &&