[FFmpeg-cvslog] r14518 - trunk/libavcodec/h264.c

michael subversion
Sun Aug 3 15:00:40 CEST 2008


Author: michael
Date: Sun Aug  3 15:00:39 2008
New Revision: 14518

Log:
mb_field_decoding_flag was not initialized
Fixes at least:
MR7_BT_B.h264
Sharp_MP_PAFF_1r2.jvt
Sharp_MP_PAFF_2.jvt


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Sun Aug  3 15:00:39 2008
@@ -3812,6 +3812,7 @@ static int decode_slice_header(H264Conte
             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 &&




More information about the ffmpeg-cvslog mailing list