diff mpeg12.c @ 1903:c94b19667d8b libavcodec

1000l for iive
author michael
date Mon, 22 Mar 2004 20:54:04 +0000
parents 779bdf5063ce
children 129236143f2e
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;
 }