[FFmpeg-devel] [PATCH 1/2] avformat: make avformat_close_input() more tolerant.

Clément Bœsch u at pkh.me
Wed Sep 4 08:33:43 CEST 2013


On Wed, Sep 04, 2013 at 04:14:31AM +0200, Michael Niedermayer wrote:
> On Tue, Sep 03, 2013 at 10:32:48PM +0200, Clément Bœsch wrote:
> > The purpose of this commit is to make error management simpler and less
> > error prone, just like av_free() which is safe with NULL.
> 
> should be ok if it simplifies actually existing code (compared to
> hypothetical code)
> 

See for instance doc/examples/filtering_{audio,video}.c where it is
currently crashing because of this, or files like libavformat/concatdec.c
where it is checked everywhere.

I'll wait a bit more and apply, thanks.

> (minus the found typo of course)
> 

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130904/36586c13/attachment.asc>


More information about the ffmpeg-devel mailing list