Commit b1df4e1f authored by arpi_esp's avatar arpi_esp

(commit by michael)

dc coeff isnt dequantized (bug reported by falk hueffner)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@278 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f68ad060
...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment