[FFmpeg-devel] [PATCH] avformat: Replace ffurl_close() by ffurl_closep() where appropriate

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon May 25 15:03:14 EEST 2020


Anton Khirnov:
> Quoting Andreas Rheinhardt (2020-05-25 08:27:44)
>> It avoids leaving dangling pointers behind in memory.
>>
>> Also remove redundant checks for whether the URLContext to be closed is
>> already NULL.
>>
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> 
> Looks very nice.
> 
Applied. Thanks.

- Andreas


More information about the ffmpeg-devel mailing list