[FFmpeg-devel] [PATCH] Fix output_example.c to call av_write_trailer before closing codecs

Reimar Döffinger Reimar.Doeffinger
Mon Feb 16 09:05:55 CET 2009


On Sun, Feb 15, 2009 at 05:10:50PM -0800, Art Clarke wrote:
> Otherwise for containers that want global headers (e.g. mov),
> av_write_trailer will try to access memory in the video codec that has been
> freed on the av_codec_close.

Please add a comment saying this, everyone reading it will be happy to
know which parts are in random order and which have to be in that
orders.




More information about the ffmpeg-devel mailing list