Re: [FFmpeg-devel] [PATCH] avformat/rtpdec_asf: free the buffer pointed by the AVIOContext

2017-11-06 Thread James Almer
On 11/6/2017 3:54 PM, Carl Eugen Hoyos wrote: > 2017-11-06 17:29 GMT+01:00 James Almer : >> 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 tha

Re: [FFmpeg-devel] [PATCH] avformat/rtpdec_asf: free the buffer pointed by the AVIOContext

2017-11-06 Thread Carl Eugen Hoyos
2017-11-06 17:29 GMT+01:00 James Almer : > 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. Th

[FFmpeg-devel] [PATCH] avformat/rtpdec_asf: free the buffer pointed by the AVIOContext

2017-11-06 Thread James Almer
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 Signed-off-by: James Almer --- Untested. libavformat/rtpdec_asf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(