diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-02-03 13:31:41 +0300 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-04 13:00:52 +0300 |
commit | 290849e2a4e76484f1a34506782e8dbfe7bbe406 (patch) | |
tree | 1e1a0a84aa972753c11ac337663c60ca58f954e6 /libavfilter | |
parent | 523d9407d57e9210428b6d962f0ebf48aae55638 (diff) |
Remove forgotten if (p) av_free(p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/defaults.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index 98339b6f30..9f245c306f 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -126,7 +126,7 @@ AVFilterBufferRef *avfilter_default_get_audio_buffer(AVFilterLink *link, int per return ref; fail: - if (ref && ref->audio) + if (ref) av_free(ref->audio); av_free(ref); av_free(samples); |