[FFmpeg-cvslog] r21667 - trunk/libavcodec/h264_direct.c
michael
subversion
Sun Feb 7 15:55:59 CET 2010
Author: michael
Date: Sun Feb 7 15:55:59 2010
New Revision: 21667
Log:
Skip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.
Modified:
trunk/libavcodec/h264_direct.c
Modified: trunk/libavcodec/h264_direct.c
==============================================================================
--- trunk/libavcodec/h264_direct.c Sun Feb 7 11:25:58 2010 (r21666)
+++ trunk/libavcodec/h264_direct.c Sun Feb 7 15:55:59 2010 (r21667)
@@ -131,6 +131,7 @@ void ff_h264_direct_ref_list_init(H264Co
for(list=0; list<2; list++){
fill_colmap(h, h->map_col_to_list0, list, sidx, ref1sidx, 0);
+ if(FRAME_MBAFF)
for(field=0; field<2; field++)
fill_colmap(h, h->map_col_to_list0_field[field], list, field, field, 1);
}
More information about the ffmpeg-cvslog
mailing list