aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-25 16:41:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-27 21:18:50 +0100
commitc7027ce9eac04fb20bd85fa37dbf24856c080c45 (patch)
tree06108020a5e34b71a68a84dc5575c1b612838df7 /libavcodec
parent2886d6cbb71b9fc79b584fda201d55aad616b237 (diff)
downloadffmpeg-c7027ce9eac04fb20bd85fa37dbf24856c080c45.tar.gz
avcodec/options_table: disable CRC checking by default
3 runs each of fate-suite/hevc-conformance/ENTP_C_LG_3.bit with crc flag 1841819858 decicycles in frame decode, 32 runs, 0 skips 1833937180 decicycles in frame decode, 32 runs, 0 skips 1843283884 decicycles in frame decode, 32 runs, 0 skips without crc flag 1703897301 decicycles in frame decode, 32 runs, 0 skips 1695031879 decicycles in frame decode, 32 runs, 0 skips 1697524383 decicycles in frame decode, 32 runs, 0 skips Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/options_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index c1a4ceb3a9..7ddb75fafa 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -144,7 +144,7 @@ static const AVOption avcodec_options[] = {
{"unofficial", "allow unofficial extensions", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_UNOFFICIAL }, INT_MIN, INT_MAX, V|D|E, "strict"},
{"experimental", "allow non-standardized experimental things", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_EXPERIMENTAL }, INT_MIN, INT_MAX, V|D|E, "strict"},
{"b_qoffset", "QP offset between P- and B-frames", OFFSET(b_quant_offset), AV_OPT_TYPE_FLOAT, {.dbl = 1.25 }, -FLT_MAX, FLT_MAX, V|E},
-{"err_detect", "set error detection flags", OFFSET(err_recognition), AV_OPT_TYPE_FLAGS, {.i64 = AV_EF_CRCCHECK }, INT_MIN, INT_MAX, A|V|D, "err_detect"},
+{"err_detect", "set error detection flags", OFFSET(err_recognition), AV_OPT_TYPE_FLAGS, {.i64 = 0}, INT_MIN, INT_MAX, A|V|D, "err_detect"},
{"crccheck", "verify embedded CRCs", 0, AV_OPT_TYPE_CONST, {.i64 = AV_EF_CRCCHECK }, INT_MIN, INT_MAX, A|V|D, "err_detect"},
{"bitstream", "detect bitstream specification deviations", 0, AV_OPT_TYPE_CONST, {.i64 = AV_EF_BITSTREAM }, INT_MIN, INT_MAX, A|V|D, "err_detect"},
{"buffer", "detect improper bitstream length", 0, AV_OPT_TYPE_CONST, {.i64 = AV_EF_BUFFER }, INT_MIN, INT_MAX, A|V|D, "err_detect"},