On Wed, Apr 1, 2015 at 1:38 AM, Vittorio Giovara
<[email protected]> wrote:
> This value is to be used to reflect the real intentions of the developer
> regarding a correct error reporting.
> ---
> In the codebase there are a couple of places were this is evident, and this
> error kind will come in handy for the future.
> Cheers,
>     Vittorio
>
> diff --git a/libavutil/error.h b/libavutil/error.h
> index 8be87cb..c7628db 100644
> --- a/libavutil/error.h
> +++ b/libavutil/error.h
> @@ -48,6 +48,7 @@
>  #define AVERROR_DECODER_NOT_FOUND  (-0x3cbabb08) ///< Decoder not found
>  #define AVERROR_DEMUXER_NOT_FOUND  (-0x32babb08) ///< Demuxer not found
>  #define AVERROR_ENCODER_NOT_FOUND  (-0x3cb1ba08) ///< Encoder not found
> +#define AVERROR_ENOCARE            (-0xabad1dea) ///< Developer does not care

Having something like this would be a very bad1dea indeed.

Happy April fools' everyone :-)
-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to