summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-06 21:48:14 +0200
committerLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-07 23:39:47 +0200
commitce1eefe691ef52539adb8f4991092f181a17370d (patch)
treefe67c4acbfe1b78ec0bf4224bc2ca58cb3dadb1e /libavformat/mpegenc.c
parenta5f2f33a679421506a7e1755e82edaebc63f3588 (diff)
downloadffmpeg-ce1eefe691ef52539adb8f4991092f181a17370d.tar.gz
lavf: use av_fifo_freep
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r--libavformat/mpegenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 1e60c51fdd..5521f48cee 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -1159,7 +1159,7 @@ static int mpeg_mux_end(AVFormatContext *ctx)
stream = ctx->streams[i]->priv_data;
assert(av_fifo_size(stream->fifo) == 0);
- av_fifo_free(stream->fifo);
+ av_fifo_freep(&stream->fifo);
}
return 0;
}