Commit 614233e3 authored by pross's avatar pross

don't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is...

don't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is required for the Electronic Arts TQI decoder.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17001 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 18b0d465
......@@ -630,7 +630,7 @@ inline int ff_mpeg1_decode_block_intra(MpegEncContext *s,
dc = s->last_dc[component];
dc += diff;
s->last_dc[component] = dc;
block[0] = dc<<3;
block[0] = dc*quant_matrix[0];
dprintf(s->avctx, "dc=%d diff=%d\n", dc, diff);
i = 0;
{
......
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