diff options
author | James Almer <jamrial@gmail.com> | 2016-09-23 16:13:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-23 17:15:49 +0200 |
commit | d41c9b1c275f4d1ffe64fe61580d75749acf7fe6 (patch) | |
tree | f6ef7ed8614ef4c939f2d44609c45db4275a800e /libavcodec | |
parent | 1bd9b960ba74d4512edbbdaa84ae747f0d9007de (diff) | |
download | ffmpeg-d41c9b1c275f4d1ffe64fe61580d75749acf7fe6.tar.gz |
avcodec/remove_extradata_bsf: Fix AVoption parameter max value
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/remove_extradata_bsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/remove_extradata_bsf.c b/libavcodec/remove_extradata_bsf.c index dd4cf17e6e..a54bbdbacf 100644 --- a/libavcodec/remove_extradata_bsf.c +++ b/libavcodec/remove_extradata_bsf.c @@ -95,7 +95,7 @@ static void remove_extradata_close(AVBSFContext *ctx) #define OFFSET(x) offsetof(RemoveExtradataContext, x) static const AVOption options[] = { - { "freq", NULL, OFFSET(freq), AV_OPT_TYPE_INT, { .i64 = REMOVE_FREQ_KEYFRAME }, REMOVE_FREQ_KEYFRAME, REMOVE_FREQ_ALL, 0, "freq" }, + { "freq", NULL, OFFSET(freq), AV_OPT_TYPE_INT, { .i64 = REMOVE_FREQ_KEYFRAME }, REMOVE_FREQ_KEYFRAME, REMOVE_FREQ_NONKEYFRAME, 0, "freq" }, { "k", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_NONKEYFRAME }, .unit = "freq" }, { "keyframe", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_KEYFRAME }, .unit = "freq" }, { "e", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_ALL }, .unit = "freq" }, |