[Libav-user] when to call av_register_all()
ryltsov at gmail.com
Thu Nov 15 19:10:14 CET 2012
Because you never know (unless you have intimate knowledge of internals)
whether it is just freeing the resources in use, or it also flushes data
and takes certain completing steps which are absolutely necessary. Graceful
closing is always a good thing to do, FFmpeg is hardly an exception.
On Thu, Nov 15, 2012 at 8:05 PM, Nicolas George <
nicolas.george at normalesup.org> wrote:
> Le quintidi 25 brumaire, an CCXXI, Ron Woods a écrit :
> > No, but you do need to close or free any ffmpeg objects that you created
> > with, e.g., avcodec_close(), avfilter_graph_free(), av_free(), etc.
> Why would he *need* to? Freeing everything that was allocated is a good
> practice, and absolutely necessary for a library, but for an application,
> doing it just before exit is not a necessity at all.
> > From: libav-user-bounces at ffmpeg.org [mailto:
> libav-user-bounces at ffmpeg.org] On Behalf Of Quy Pham Sy
> Please remember that top-posting is not acceptable on this list.
> Nicolas George
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> -----END PGP SIGNATURE-----
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user