diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-05-06 23:37:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-06 23:37:43 +0200 |
commit | fa3eddc0110cb237cd57c3e82cafdbcbf798b3a1 (patch) | |
tree | 65b473bbec3f400a07336cb8e825ed73f1507086 /libavfilter | |
parent | c25a8d7dfbdd5f2cf3c275c51697cf0941bbbdcf (diff) | |
download | ffmpeg-fa3eddc0110cb237cd57c3e82cafdbcbf798b3a1.tar.gz |
avfilter_unref_buffer: favor av_freep()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index f784cbff8c..7b4d853b69 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -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); } |