[FFmpeg-soc] [soc]: r996 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Sun Aug 19 00:59:18 CEST 2007
Author: marco
Date: Sun Aug 19 00:59:18 2007
New Revision: 996
Log:
do not dereference variable
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Sun Aug 19 00:59:18 2007
@@ -1598,11 +1598,11 @@ int dirac_idwt(DiracContext *s, int16_t
switch(s->wavelet_idx) {
case 0:
dprintf(s->avctx, "Deslauriers-Debuc (9,5) IDWT\n");
- dirac_subband_idwt_95(&s->avctx, width, height, s->padded_width, coeffs, level);
+ dirac_subband_idwt_95(s->avctx, width, height, s->padded_width, coeffs, level);
break;
case 1:
dprintf(s->avctx, "LeGall (5,3) IDWT\n");
- dirac_subband_idwt_53(&s->avctx, width, height, s->padded_width, coeffs, level);
+ dirac_subband_idwt_53(s->avctx, width, height, s->padded_width, coeffs, level);
break;
default:
av_log(s->avctx, AV_LOG_INFO, "unknown IDWT index: %d\n",
@@ -1627,7 +1627,7 @@ int dirac_dwt(DiracContext *s, int16_t *
for (level = s->frame_decoding.wavelet_depth; level >= 1; level--) {
width = subband_width(s, level);
height = subband_height(s, level);
- dirac_subband_dwt_95(&s->avctx, width, height, s->padded_width, coeffs, level);
+ dirac_subband_dwt_95(s->avctx, width, height, s->padded_width, coeffs, level);
}
return 0;
More information about the FFmpeg-soc
mailing list