ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Thu Jan 8 14:51:04 2015 +0100| [bf3126db6a600e9103ecea948589e1f8b195b8f4] | committer: Michael Niedermayer
avformat/hlsenc: Use avio_closep() to avoid leaving stale pointers in memory Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf3126db6a600e9103ecea948589e1f8b195b8f4 --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f46e8d4..a76dbce 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -486,7 +486,7 @@ static int hls_write_trailer(struct AVFormatContext *s) hls_free_segments(hls->segments); hls_free_segments(hls->old_segments); - avio_close(hls->pb); + avio_closep(&hls->pb); return 0; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog