aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/fifo.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-07-15 10:12:51 +0200
committerAnton Khirnov <anton@khirnov.net>2012-07-22 09:14:05 +0200
commit02ac7311c8f1f252398b57b54992756c95f77962 (patch)
tree790402cd02d9c4572b05efeb73bf474aadd3f359 /libavfilter/fifo.c
parent043800a96888f1a04732f12316ba477d8f098d3f (diff)
downloadffmpeg-02ac7311c8f1f252398b57b54992756c95f77962.tar.gz
lavfi: use avfilter_unref_bufferp() where appropriate.
Diffstat (limited to 'libavfilter/fifo.c')
-rw-r--r--libavfilter/fifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/fifo.c b/libavfilter/fifo.c
index 66de62c3b0..8264d5302e 100644
--- a/libavfilter/fifo.c
+++ b/libavfilter/fifo.c
@@ -65,11 +65,11 @@ static av_cold void uninit(AVFilterContext *ctx)
for (buf = fifo->root.next; buf; buf = tmp) {
tmp = buf->next;
- avfilter_unref_buffer(buf->buf);
+ avfilter_unref_bufferp(&buf->buf);
av_free(buf);
}
- avfilter_unref_buffer(fifo->buf_out);
+ avfilter_unref_bufferp(&fifo->buf_out);
}
static int add_to_queue(AVFilterLink *inlink, AVFilterBufferRef *buf)