diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-14 17:05:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-14 17:05:25 +0200 |
commit | 44453c09e46eb30a1316cac30027c7f6d53a6e6f (patch) | |
tree | 7c61a93e2fea06ecb8de6f72b27b58ec6365fba0 /ffmpeg.c | |
parent | 7f7c494a3340f71046dde62aa1939128600854a4 (diff) | |
download | ffmpeg-44453c09e46eb30a1316cac30027c7f6d53a6e6f.tar.gz |
ffmpeg: Use av_fifo_freep() to avoid stale pointers
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -538,7 +538,7 @@ static void ffmpeg_cleanup(int ret) av_fifo_generic_read(ost->muxing_queue, &pkt, sizeof(pkt), NULL); av_packet_unref(&pkt); } - av_fifo_free(ost->muxing_queue); + av_fifo_freep(&ost->muxing_queue); av_freep(&output_streams[i]); } |