[FFmpeg-cvslog] r21662 - trunk/libavcodec/h264_direct.c

michael subversion
Sun Feb 7 02:14:59 CET 2010


Author: michael
Date: Sun Feb  7 02:14:58 2010
New Revision: 21662

Log:
Add assert(sps.direct_8x8_inference_flag) to FIXME comment.

Modified:
   trunk/libavcodec/h264_direct.c

Modified: trunk/libavcodec/h264_direct.c
==============================================================================
--- trunk/libavcodec/h264_direct.c	Sun Feb  7 02:13:56 2010	(r21661)
+++ trunk/libavcodec/h264_direct.c	Sun Feb  7 02:14:58 2010	(r21662)
@@ -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;



More information about the ffmpeg-cvslog mailing list