[Libav-user] when to call av_register_all()

Nicolas George nicolas.george at normalesup.org
Thu Nov 15 19:05:54 CET 2012


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.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20121115/b4242a78/attachment.asc>


More information about the Libav-user mailing list