From 5aa1d7598fecdfa3e304448c39fcb2815a5503d9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 7 Feb 2010 01:14:58 +0000 Subject: [PATCH] Add assert(sps.direct_8x8_inference_flag) to FIXME comment. Originally committed as revision 21662 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264_direct.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264_direct.c b/libavcodec/h264_direct.c index 9b6ca8a30f..fa9380d563 100644 --- a/libavcodec/h264_direct.c +++ b/libavcodec/h264_direct.c @@ -352,6 +352,7 @@ single_col: if(IS_INTERLACED(*mb_type) != IS_INTERLACED(mb_type_col[0])){ /* FIXME assumes direct_8x8_inference == 1 */ int y_shift = 2*!IS_INTERLACED(*mb_type); + assert(h->sps.direct_8x8_inference_flag); for(i8=0; i8<4; i8++){ const int x8 = i8&1;