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.

Roman

On Thu, Nov 15, 2012 at 8:05 PM, Nicolas George <
[email protected]> 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: [email protected] [mailto:
> [email protected]] On Behalf Of Quy Pham Sy
>
> Please remember that top-posting is not acceptable on this list.
>
> Regards,
>
> --
>   Nicolas George
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlClLwIACgkQsGPZlzblTJPHCACfSPUzY5HC5tJQt8cZIrnF0xDt
> 3FgAnjzauFPt8rvCIRAVjfGBWx8gmxLe
> =EdmG
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to