diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-05-06 21:48:14 +0200 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-05-07 23:39:47 +0200 |
commit | ce1eefe691ef52539adb8f4991092f181a17370d (patch) | |
tree | fe67c4acbfe1b78ec0bf4224bc2ca58cb3dadb1e /libavformat/swfenc.c | |
parent | a5f2f33a679421506a7e1755e82edaebc63f3588 (diff) | |
download | ffmpeg-ce1eefe691ef52539adb8f4991092f181a17370d.tar.gz |
lavf: use av_fifo_freep
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavformat/swfenc.c')
-rw-r--r-- | libavformat/swfenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index 8d9cf0c246..402f21ef40 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -490,8 +490,7 @@ static int swf_write_trailer(AVFormatContext *s) if (enc->codec_type == AVMEDIA_TYPE_VIDEO) video_enc = enc; else { - av_fifo_free(swf->audio_fifo); - swf->audio_fifo = NULL; + av_fifo_freep(&swf->audio_fifo); } } |