Mercurial > libavcodec.hg
diff h264_direct.c @ 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 | d4222f5b6dea |
children | eda7b4f6db51 |
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); }