Remove forgotten if (p) av_free(p) forms

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Clément Bœsch
2011-02-03 11:31:41 +01:00
committed by Mans Rullgard
parent 523d9407d5
commit 290849e2a4
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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);