Branch: refs/heads/master Home: https://github.com/mltframework/mlt Commit: a94eec1cb68ecde44605f61f950d2a3e12c4c962 https://github.com/mltframework/mlt/commit/a94eec1cb68ecde44605f61f950d2a3e12c4c962 Author: Dan Dennedy <d...@dennedy.org> Date: 2016-07-30 (Sat, 30 Jul 2016)
Changed paths: M src/modules/avformat/producer_avformat.c Log Message: ----------- Fix crash on Windows free-ing on avfilter_graph_free(). Fixes Shotcut bug https://github.com/mltframework/shotcut/issues/285 The root cause is that we used strdup() to allocate a member of AVFilterGraph. However, avfilter_graph_free() internally uses av_free() to deallocate members. av_free() requires that you use av_malloc() for alignment, and msvcrt _aligned_free() rejects the operation. Since we do not really use AVFilterGraph.scale_sws_opts, just leave it at default NULL to fix. If we do start to support sws_opts, we might use av_opt API instead.
------------------------------------------------------------------------------
_______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel