changeset 1903:c94b19667d8b libavcodec

1000l for iive
author michael
date Mon, 22 Mar 2004 20:54:04 +0000
parents a5588762c4fa
children 129236143f2e
files mpeg12.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12.c	Mon Mar 22 12:07:02 2004 +0000
+++ b/mpeg12.c	Mon Mar 22 20:54:04 2004 +0000
@@ -362,7 +362,8 @@
 
     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;
 }