changeset 11088:1bfb70c225bb libavcodec

Skip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.
author michael
date Sun, 07 Feb 2010 14:55:59 +0000
parents 1b8e11679883
children 68fa9b353337
files h264_direct.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264_direct.c	Sun Feb 07 02:00:00 2010 +0000
+++ b/h264_direct.c	Sun Feb 07 14:55:59 2010 +0000
@@ -131,6 +131,7 @@
 
     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);
     }