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];