changeset 11084:6e564ab180d1 libavcodec

Add assert(sps.direct_8x8_inference_flag) to FIXME comment.
author michael
date Sun, 07 Feb 2010 01:14:58 +0000
parents a270b4c67089
children 27b5a2bd1dfe
files h264_direct.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264_direct.c	Sun Feb 07 01:13:56 2010 +0000
+++ b/h264_direct.c	Sun Feb 07 01:14:58 2010 +0000
@@ -352,6 +352,7 @@
         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;