Re: [FFmpeg-devel] [PATCH] dashdec: Only free url string if being reused

2018-01-19 Thread Michael Niedermayer
On Thu, Jan 18, 2018 at 09:15:49PM +1100, Brendan McGrath wrote: > If no representation bandwidth value is set, the url value returned > by get_content_url is corrupt (as the memory has been freed). > > This change ensures the url string is not freed unless it is about > to be reused > >

[FFmpeg-devel] [PATCH] dashdec: Only free url string if being reused

2018-01-18 Thread Brendan McGrath
If no representation bandwidth value is set, the url value returned by get_content_url is corrupt (as the memory has been freed). This change ensures the url string is not freed unless it is about to be reused Signed-off-by: Brendan McGrath --- libavformat/dashdec.c