[FFmpeg-soc] [soc]: r4405 - wmapro/wma3dec.c

faust3 subversion at mplayerhq.hu
Wed Jun 10 20:15:34 CEST 2009


Author: faust3
Date: Wed Jun 10 20:15:34 2009
New Revision: 4405

Log:
use av_freep instead of av_free

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Wed Jun 10 19:45:23 2009	(r4404)
+++ wmapro/wma3dec.c	Wed Jun 10 20:15:34 2009	(r4405)
@@ -159,10 +159,10 @@ static av_cold int wma_decode_end(AVCode
     WMA3DecodeContext *s = avctx->priv_data;
     int i;
 
-    av_free(s->num_sfb);
-    av_free(s->sfb_offsets);
-    av_free(s->subwoofer_cutoffs);
-    av_free(s->sf_offsets);
+    av_freep(&s->num_sfb);
+    av_freep(&s->sfb_offsets);
+    av_freep(&s->subwoofer_cutoffs);
+    av_freep(&s->sf_offsets);
 
     for (i=0 ; i<BLOCK_NB_SIZES ; i++)
         ff_mdct_end(&s->mdct_ctx[i]);


More information about the FFmpeg-soc mailing list