Skip to content
Snippets Groups Projects
Commit d2b3c3d7 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

(commit by michael)

dc coeff isnt dequantized (bug reported by falk hueffner)

Originally committed as revision 278 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4e3269e8
No related branches found
No related tags found
No related merge requests found
...@@ -1284,7 +1284,7 @@ static void dct_unquantize_mpeg1_c(MpegEncContext *s, ...@@ -1284,7 +1284,7 @@ static void dct_unquantize_mpeg1_c(MpegEncContext *s,
} else { } else {
i = 0; i = 0;
quant_matrix = s->non_intra_matrix; quant_matrix = s->non_intra_matrix;
for(i=1;i<nCoeffs;i++) { for(;i<nCoeffs;i++) {
int j= zigzag_direct[i]; int j= zigzag_direct[i];
level = block[j]; level = block[j];
if (level) { if (level) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment