[FFmpeg-cvslog] r17001 - trunk/libavcodec/mpeg12.c
pross
subversion
Thu Feb 5 08:59:11 CET 2009
Author: pross
Date: Thu Feb 5 08:59:11 2009
New Revision: 17001
Log:
don't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is required for the Electronic Arts TQI decoder.
Modified:
trunk/libavcodec/mpeg12.c
Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c Thu Feb 5 08:57:11 2009 (r17000)
+++ trunk/libavcodec/mpeg12.c Thu Feb 5 08:59:11 2009 (r17001)
@@ -630,7 +630,7 @@ inline int ff_mpeg1_decode_block_intra(M
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;
{
More information about the ffmpeg-cvslog
mailing list