changeset 1943:62beeb1a8676 libavcodec

seems wmv8 doesnt use intra-inter prediction
author michael
date Fri, 16 Apr 2004 18:50:30 +0000
parents 9241d99f7443
children a3f44c9168aa
files wmv2.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/wmv2.c	Fri Apr 16 12:47:37 2004 +0000
+++ b/wmv2.c	Fri Apr 16 18:50:30 2004 +0000
@@ -181,7 +181,7 @@
         put_bits(&s->pb, 1, s->dc_table_index);
         put_bits(&s->pb, 1, s->mv_table_index);
     
-        s->inter_intra_pred= (s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE);
+        s->inter_intra_pred= 0;//(s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE);
     }
     s->esc3_level_length= 0;
     s->esc3_run_length= 0;
@@ -443,7 +443,7 @@
         s->dc_table_index = get_bits1(&s->gb);
         s->mv_table_index = get_bits1(&s->gb);
     
-        s->inter_intra_pred= (s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE);
+        s->inter_intra_pred= 0;//(s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE);
         s->no_rounding ^= 1;
         
         if(s->avctx->debug&FF_DEBUG_PICT_INFO){