Add assert(sps.direct_8x8_inference_flag) to FIXME comment.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Feb 2010 01:14:58 +0000 (01:14 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Feb 2010 01:14:58 +0000 (01:14 +0000)
Originally committed as revision 21662 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264_direct.c

index 9b6ca8a..fa9380d 100644 (file)
@@ -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;