diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-28 12:34:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-28 12:34:35 +0100 |
commit | 84f972f9944ad29712c70f22bd55b2b12171abf8 (patch) | |
tree | 0a7b495dc78053710fbfff6ab6b4e36b5c483321 /libavcodec/avcodec.h | |
parent | 528f5cdd2cf1c54f3f1b983964993c698ff91aca (diff) | |
parent | 23a211cbba0b7c9ee694040031b2e5da1be54a00 (diff) |
Merge commit '23a211cbba0b7c9ee694040031b2e5da1be54a00'
* commit '23a211cbba0b7c9ee694040031b2e5da1be54a00':
lavc: change all decoders to behave consistently with AV_EF_CRCCHECK.
Conflicts:
libavcodec/avcodec.h
libavcodec/tta.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index fe64b38986..f7be037427 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2474,7 +2474,14 @@ typedef struct AVCodecContext { * - decoding: Set by user. */ int err_recognition; -#define AV_EF_CRCCHECK (1<<0) ///< verify embedded CRCs + +/** + * Verify checksums embedded in the bitstream (could be of either encoded or + * decoded data, depending on the codec) and print an error message on mismatch. + * If AV_EF_EXPLODE is also set, a mismatching checksum will result in the + * decoder returning an error. + */ +#define AV_EF_CRCCHECK (1<<0) #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 |