aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/buffersink.c
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-06 21:31:08 +0200
committerLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-07 23:39:47 +0200
commit70b63419ee330a4e6cfcc804061b3917a81e964e (patch)
tree3087f981f003c8ee4991054d4063b2d9d477700e /libavfilter/buffersink.c
parent351f6118c7e3da6ea7a2ab0a8f7d25b2223f7c5a (diff)
downloadffmpeg-70b63419ee330a4e6cfcc804061b3917a81e964e.tar.gz
lavfi: use av_fifo_freep
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavfilter/buffersink.c')
-rw-r--r--libavfilter/buffersink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c
index 5144fdaeee..345af773ff 100644
--- a/libavfilter/buffersink.c
+++ b/libavfilter/buffersink.c
@@ -76,8 +76,7 @@ static av_cold void uninit(AVFilterContext *ctx)
av_fifo_generic_read(sink->fifo, &frame, sizeof(frame), NULL);
av_frame_free(&frame);
}
- av_fifo_free(sink->fifo);
- sink->fifo = NULL;
+ av_fifo_freep(&sink->fifo);
}
}