[FFmpeg-soc] [soc]: r5102 - spdif/spdif.c

bwolowiec subversion at mplayerhq.hu
Fri Aug 14 11:42:39 CEST 2009


Author: bwolowiec
Date: Fri Aug 14 11:42:39 2009
New Revision: 5102

Log:
use av_freep instead of av_free

Modified:
   spdif/spdif.c

Modified: spdif/spdif.c
==============================================================================
--- spdif/spdif.c	Fri Aug 14 11:40:26 2009	(r5101)
+++ spdif/spdif.c	Fri Aug 14 11:42:39 2009	(r5102)
@@ -223,7 +223,7 @@ static int spdif_write_trailer(AVFormatC
 {
 #if !HAVE_BIGENDIAN
     IEC958Context *ctx = s->priv_data;
-    av_free(ctx->buffer);
+    av_freep(&ctx->buffer);
 #endif
     return 0;
 }


More information about the FFmpeg-soc mailing list