mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-06 06:44:29 +00:00
avfilter_unref_buffer: favor av_freep()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c25a8d7dfb
commit
fa3eddc011
@ -75,8 +75,8 @@ void avfilter_unref_buffer(AVFilterBufferRef *ref)
|
||||
return;
|
||||
if (!(--ref->buf->refcount))
|
||||
ref->buf->free(ref->buf);
|
||||
av_free(ref->video);
|
||||
av_free(ref->audio);
|
||||
av_freep(&ref->video);
|
||||
av_freep(&ref->audio);
|
||||
av_free(ref);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user