From 8fe2c60e5f2b20dcb608536a8ca2db99fe72c20c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 22 Mar 2004 20:54:04 +0000 Subject: [PATCH] 1000l for iive Originally committed as revision 2916 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpeg12.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 2b5d0749bd..4d2943a6cd 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -362,7 +362,8 @@ int i; s->y_dc_scale_table= s->c_dc_scale_table= ff_mpeg1_dc_scale_table; - + + if(!s->encoding) for(i=0;i<64;i++) s->dsp.idct_permutation[i]=i; }