10l (fixes dct coeff noise reduction)
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Nov 2003 13:31:02 +0000 (13:31 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Nov 2003 13:31:02 +0000 (13:31 +0000)
Originally committed as revision 2470 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.c

index be003f3..748d7ff 100644 (file)
@@ -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];