From da63aac58518e97ed682846004682d3abcfc0d64 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 16 Apr 2004 18:50:30 +0000 Subject: [PATCH] seems wmv8 doesnt use intra-inter prediction Originally committed as revision 3024 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/wmv2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c index 5ea6224b7c..376f0706e1 100644 --- a/libavcodec/wmv2.c +++ b/libavcodec/wmv2.c @@ -181,7 +181,7 @@ int ff_wmv2_encode_picture_header(MpegEncContext * s, int picture_number) 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 @@ int ff_wmv2_decode_secondary_picture_header(MpegEncContext * s) 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){