On 05/03/2014 03:13 PM, Anton Khirnov wrote:
> Right now, the caller has to manually manage some allocated
> AVCodecContext fields, like extradata or subtitle_header. This is
> fragile and prone to leaks, especially if we want to add more such
> fields in the future.
> 
> The only reason for this behaviour is so that the AVStream codec context
> can be reused for decoding. Such reuse is discouraged anyway, so this
> commit is the first step to deprecating it.
> ---
>  doc/APIchanges       |    4 ++++
>  libavcodec/avcodec.h |   11 ++++++++---
>  libavcodec/options.c |   15 +++++++++++++++
>  libavcodec/version.h |    4 ++--
>  4 files changed, 29 insertions(+), 5 deletions(-)

Looks good.

-Justin

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to