diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-27 19:31:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-27 20:05:36 +0100 |
commit | fc7be7ddf3dea2f95d2d8bedde2fed44b4f469f2 (patch) | |
tree | de3cc43d2d66d6830a89e5e9ee8bce6ceb051d43 /libavcodec | |
parent | 2ef1e62c8dcf892cc5ce42d2bfde34da09a3d18b (diff) | |
download | ffmpeg-streaming-fc7be7ddf3dea2f95d2d8bedde2fed44b4f469f2.zip ffmpeg-streaming-fc7be7ddf3dea2f95d2d8bedde2fed44b4f469f2.tar.gz |
avcodec/avcodec.h: Add documentation for the AV_EF_* defifines
The documentation is copied from the AVOption texts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index b9a9f25..01a1be2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2474,14 +2474,14 @@ typedef struct AVCodecContext { * - decoding: Set by user. */ int err_recognition; -#define AV_EF_CRCCHECK (1<<0) -#define AV_EF_BITSTREAM (1<<1) -#define AV_EF_BUFFER (1<<2) -#define AV_EF_EXPLODE (1<<3) - -#define AV_EF_CAREFUL (1<<16) -#define AV_EF_COMPLIANT (1<<17) -#define AV_EF_AGGRESSIVE (1<<18) +#define AV_EF_CRCCHECK (1<<0) ///< verify embedded CRCs +#define AV_EF_BITSTREAM (1<<1) ///< detect bitstream specification deviations +#define AV_EF_BUFFER (1<<2) ///< detect improper bitstream length +#define AV_EF_EXPLODE (1<<3) ///< abort decoding on minor error detection + +#define AV_EF_CAREFUL (1<<16) ///< consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors +#define AV_EF_COMPLIANT (1<<17) ///< consider all spec non compliancies as errors +#define AV_EF_AGGRESSIVE (1<<18) ///< consider things that a sane encoder should not do as an error /** |