[FFmpeg-devel] Patch: explicitly initialize AVFormatContext *ic = NULL
Fri Jul 10 04:05:04 CEST 2009
On Thu, Jul 09, 2009 at 10:59:56PM +0800, avcoder wrote:
> Fix mem leak when user preallocates an AVFormatContext, passes it to
> av_open_input_file(), but the file does not exist.
> Patch by Art Clarke a$(surname) xuggle com
> git-svn-id: file:///var/local/repositories/ffmpeg/trunk at 19370
> The commit will cause error when calling av_freep() at the end of
> av_open_input_file() if we fail to explicitly initialize the args:
> AVFormatContext **ic_ptr in calling routine.
then the patch should be reverted
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel