Author: marco
Date: Sat Aug 18 20:09:37 2007
New Revision: 965

Log:
use the right ranges for the levels

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c    (original)
+++ dirac/libavcodec/dirac.c    Sat Aug 18 20:09:37 2007
@@ -2107,7 +2107,7 @@ static int dirac_dwt(DiracContext *s, in
     int level;
 
     /* XXX: make depth configurable.  */
-    for (level = 4; level >= s->frame_decoding.wavelet_depth; level--)
+    for (level = s->frame_decoding.wavelet_depth; level >= 1; level--)
         dirac_subband_dwt_53(s, coeffs, level);
 
     return 0;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to