Re: [FFmpeg-devel] [PATCH] avcodec_free_context instead of close+av_free

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 05:24:02PM +, Lectem wrote: > If I understood the source and documentation correctly, avcodec_free_context > should now be used to free a context instead of avcodec_close + av_free. > --- > doc/examples/decoding_encoding.c | 14 +- > 1 file changed, 5 inser

[FFmpeg-devel] [PATCH] avcodec_free_context instead of close+av_free

2015-07-11 Thread Lectem
If I understood the source and documentation correctly, avcodec_free_context should now be used to free a context instead of avcodec_close + av_free. --- doc/examples/decoding_encoding.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/examples/decoding_encod