On 11/6/2017 3:54 PM, Carl Eugen Hoyos wrote: > 2017-11-06 17:29 GMT+01:00 James Almer <jamr...@gmail.com>: >> Don't free the buffer allocated in ff_wms_parse_sdp_a_line() after >> calling avformat_open_input(), as it may free it and replace it with >> another one. >> >> Should fix ticket #6808 > > I can confirm that the patch fixes the issue, consider using av_freep.
No point, the AVIOContext is local and the av_free() call happens right before returning from the function. Pushed, thanks. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel