projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50240e5
)
don't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is required...
author
Peter Ross
<pross@xvid.org>
Thu, 5 Feb 2009 07:59:11 +0000
(07:59 +0000)
committer
Peter Ross
<pross@xvid.org>
Thu, 5 Feb 2009 07:59:11 +0000
(07:59 +0000)
Originally committed as revision 17001 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index
dd7ecff
..
6100b1f
100644
(file)
--- a/
libavcodec/mpeg12.c
+++ b/
libavcodec/mpeg12.c
@@
-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;
{