diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-21 23:46:36 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-21 23:46:36 +0100 |
commit | 44d4fe9dad178bb1f9006b09593f181044603497 (patch) | |
tree | 3479097ca750e26ef29a380fce72e3135201fc5d /libavformat/options.c | |
parent | c5c7e0ebc10054d8ce813b46065f1a406b65aece (diff) | |
download | ffmpeg-44d4fe9dad178bb1f9006b09593f181044603497.tar.gz |
error_detection: put the old error detection constants back.
The old constants are more useful to the end user and have
orthogonal meanings to the new ones.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index 3e6dccf17f..31acbd37c1 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -124,6 +124,9 @@ static const AVOption options[]={ {"bitstream", "detect bitstream specification deviations", 0, AV_OPT_TYPE_CONST, {.dbl = AV_EF_BITSTREAM }, INT_MIN, INT_MAX, D, "err_detect"}, {"buffer", "detect improper bitstream length", 0, AV_OPT_TYPE_CONST, {.dbl = AV_EF_BUFFER }, INT_MIN, INT_MAX, D, "err_detect"}, {"explode", "abort decoding on minor error detection", 0, AV_OPT_TYPE_CONST, {.dbl = AV_EF_EXPLODE }, INT_MIN, INT_MAX, D, "err_detect"}, +{"careful", "consider things that violate the spec and have not been seen in the wild as errors", 0, AV_OPT_TYPE_CONST, {.dbl = AV_EF_CAREFUL }, INT_MIN, INT_MAX, D, "err_detect"}, +{"compliant", "consider all spec non compliancies as errors", 0, AV_OPT_TYPE_CONST, {.dbl = AV_EF_COMPLIANT }, INT_MIN, INT_MAX, D, "err_detect"}, +{"aggressive", "consider things that a sane encoder shouldnt do as an error", 0, AV_OPT_TYPE_CONST, {.dbl = AV_EF_AGGRESSIVE }, INT_MIN, INT_MAX, D, "err_detect"}, {NULL}, }; |