From 92ba5ffbb5fe072a3bdf37f87ec1443ee1af6744 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 21 May 2002 23:13:57 +0000 Subject: workaround dc_scale bug in old ffmpeg msmpeg4v3 encoder (set workaround_bugs=1 for this) Originally committed as revision 561 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/mpegvideo.h') diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 3b44644def..47a72f621e 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -99,6 +99,7 @@ typedef struct MpegEncContext { float b_quant_factor;/* qscale factor between ips and b frames */ int rc_strategy; int b_frame_strategy; + int workaround_bugs; /* workaround bugs in encoders which cannot be detected automatically */ /* the following fields are managed internally by the encoder */ /* bit output */ @@ -491,6 +492,7 @@ int msmpeg4_decode_ext_header(MpegEncContext * s, int buf_size); int msmpeg4_decode_mb(MpegEncContext *s, DCTELEM block[6][64]); int msmpeg4_decode_init_vlc(MpegEncContext *s); +void ff_old_msmpeg4_dc_scale(MpegEncContext *s); /* mjpegenc.c */ -- cgit v1.2.3