VideoFileWriter::Close() incorrectly deallocates the data->FormatContext
structure.
According to ffmpeg's code documentation the AVFormatContext should be free'd
with libffmpeg::avformat_free_context(AVFormatContext *s)
The entire structure end related memory is deallocated by avformat_free_context
except for data->FormatContext->pb, which should be free'd by
libffmpeg::avio_close(*) as shown in the attached patch
Original issue reported on code.google.com by ko...@redigo-se.net on 5 Jun 2015 at 10:15
Original issue reported on code.google.com by
ko...@redigo-se.net
on 5 Jun 2015 at 10:15Attachments: