On Fri,  5 Aug 2011 20:07:16 -0400, Dustin Brody <[email protected]> wrote:
> ---
>  libavformat/avformat.h |    8 ++++++++
>  libavformat/avidec.c   |    6 ++++--
>  libavformat/options.c  |    3 +++
>  libavformat/version.h  |    2 +-
>  4 files changed, 16 insertions(+), 3 deletions(-)
> 
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index 2f68aba..cad0ac1 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -752,6 +752,14 @@ typedef struct AVFormatContext {
>  #define AVFMT_FLAG_CUSTOM_IO    0x0080 ///< The caller has supplied a custom 
> AVIOContext, don't avio_close() it.
>  #define AVFMT_FLAG_DISCARD_CORRUPT  0x0100 ///< Discard frames marked 
> corrupted
>  
> +    /**
> +     * Error recognition; higher values will detect more errors but may
> +     * misdetect some more or less valid parts as errors.
> +     * - encoding: unused
> +     * - decoding: Set by user.
> +     */
> +    int error_recognition;
> +

You can't add stuff in the middle of public structs, it breaks ABI.
Move it to the end.

Also add an entry to doc/APIchanges.


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

Reply via email to