[Ffmpeg-devel] [PATCH] Fix for url_fclose() being called on an already closed file

Måns Rullgård mru
Wed Feb 8 16:43:42 CET 2006


Colin Ward said:
>
>   Hi all.
>
>   While looking for a resource leak (which turned out to be in my own
> code!) I noticed that in libavformat/utils.c::av_open_input_file() it was
> possible for url_fclose() to be called twice in a row due to file_opened
> not being set back to 0 after the first call to url_fclose().  The chances
> of this are minutely tiny, but please find a patch attached anyway.

Could you set the mime type of attached patches to text/x-patch, please?  It
makes them easier to read.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list