diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-09 15:46:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-09 15:55:07 +0100 |
commit | 323355413dbe576dada9919535c7b72f2d9a66b4 (patch) | |
tree | f0fefb666db28c033e581cd73dcdf337f48cf17a /tools/uncoded_frame.c | |
parent | ef3a6a48b56dce552f4bc8b60403d2d53484c2f8 (diff) | |
download | ffmpeg-323355413dbe576dada9919535c7b72f2d9a66b4.tar.gz |
tools/uncoded_frame: Use avio_closep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools/uncoded_frame.c')
-rw-r--r-- | tools/uncoded_frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uncoded_frame.c b/tools/uncoded_frame.c index 53e71eacbf..3ca2ba4bbe 100644 --- a/tools/uncoded_frame.c +++ b/tools/uncoded_frame.c @@ -269,7 +269,7 @@ fail: st = &streams[i]; if (st->mux) { if (st->mux->pb) - avio_close(st->mux->pb); + avio_closep(&st->mux->pb); avformat_free_context(st->mux); } } |