summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-03 13:31:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-03 13:31:02 +0000
commit762357e63a537250b5b1bf42e195e07e9ec1cad6 (patch)
treefd0f212d5e6faebb6cd4905c45959150d03fa195
parent9b879566789379631f02b83be367ca55c88a1ae9 (diff)
10l (fixes dct coeff noise reduction)
Originally committed as revision 2470 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 2 insertions, 0 deletions
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];