From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libswresample/resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffmpeg/libswresample/resample.c') diff --git a/ffmpeg/libswresample/resample.c b/ffmpeg/libswresample/resample.c index fb9da7c..8b1b6ca 100644 --- a/ffmpeg/libswresample/resample.c +++ b/ffmpeg/libswresample/resample.c @@ -256,7 +256,7 @@ static ResampleContext *resample_init(ResampleContext *c, int out_rate, int in_r return c; error: - av_free(c->filter_bank); + av_freep(&c->filter_bank); av_free(c); return NULL; } -- cgit v1.2.3