[FFmpeg-soc] [soc]: r965 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Sat Aug 18 20:09:37 CEST 2007
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;
More information about the FFmpeg-soc
mailing list