(commit by michael)

dc coeff isnt dequantized (bug reported by falk hueffner)

Originally committed as revision 278 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 23 years ago
parent 4e3269e87f
commit d2b3c3d7bb
  1. 2
      libavcodec/mpegvideo.c

@ -1284,7 +1284,7 @@ static void dct_unquantize_mpeg1_c(MpegEncContext *s,
} else {
i = 0;
quant_matrix = s->non_intra_matrix;
for(i=1;i<nCoeffs;i++) {
for(;i<nCoeffs;i++) {
int j= zigzag_direct[i];
level = block[j];
if (level) {

Loading…
Cancel
Save