From 762357e63a537250b5b1bf42e195e07e9ec1cad6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 3 Nov 2003 13:31:02 +0000 Subject: [PATCH] 10l (fixes dct coeff noise reduction) Originally committed as revision 2470 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index be003f3b66..748d7ffbfc 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -4076,6 +4076,8 @@ void ff_denoise_dct(MpegEncContext *s, DCTELEM *block){ const int intra= s->mb_intra; int i; + s->dct_count[intra]++; + for(i=0; i<64; i++){ int level= block[i];