aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-05 21:43:17 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-11-01 15:36:07 +0100
commit39518589e73ed08f6afad7dc0d7ced1bcfbdaf92 (patch)
tree7c571742611cc89019ce9bf6678b1e0e2ac29c8f
parent857e391697287a97a810114fba0de52179e6c623 (diff)
downloadffmpeg-39518589e73ed08f6afad7dc0d7ced1bcfbdaf92.tar.gz
avformat/options_table: add FF_COMPLIANCE_UNOFFICIAL
Fixes ticket 3959 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c02ea58c5f0a77f20c8046041edb974bb4376f4c)
-rw-r--r--libavformat/options_table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/options_table.h b/libavformat/options_table.h
index eb4115cd7b..71024be195 100644
--- a/libavformat/options_table.h
+++ b/libavformat/options_table.h
@@ -93,6 +93,7 @@ static const AVOption avformat_options[] = {
{"strict", "how strictly to follow the standards", OFFSET(strict_std_compliance), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, D|E, "strict"},
{"strict", "strictly conform to all the things in the spec no matter what the consequences", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_STRICT }, INT_MIN, INT_MAX, D|E, "strict"},
{"normal", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_NORMAL }, INT_MIN, INT_MAX, D|E, "strict"},
+{"unofficial", "allow unofficial extensions", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_UNOFFICIAL }, INT_MIN, INT_MAX, D|E, "strict"},
{"experimental", "allow non-standardized experimental variants", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_EXPERIMENTAL }, INT_MIN, INT_MAX, D|E, "strict"},
{"max_ts_probe", "maximum number of packets to read while waiting for the first timestamp", OFFSET(max_ts_probe), AV_OPT_TYPE_INT, { .i64 = 50 }, 0, INT_MAX, D },
{NULL},