mirror of https://git.ffmpeg.org/ffmpeg.git
mov: fix integer avoption types
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c6c560deed
commit
d067e25437
|
@ -3335,9 +3335,9 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
|
||||||
static const AVOption options[] = {
|
static const AVOption options[] = {
|
||||||
{"use_absolute_path",
|
{"use_absolute_path",
|
||||||
"allow using absolute path when opening alias, this is a possible security issue",
|
"allow using absolute path when opening alias, this is a possible security issue",
|
||||||
offsetof(MOVContext, use_absolute_path), FF_OPT_TYPE_INT, {.dbl = 0},
|
offsetof(MOVContext, use_absolute_path), FF_OPT_TYPE_INT, {.i64 = 0},
|
||||||
0, 1, AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_DECODING_PARAM},
|
0, 1, AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_DECODING_PARAM},
|
||||||
{"ignore_editlist", "", offsetof(MOVContext, ignore_editlist), FF_OPT_TYPE_INT, {.dbl = 0},
|
{"ignore_editlist", "", offsetof(MOVContext, ignore_editlist), FF_OPT_TYPE_INT, {.i64 = 0},
|
||||||
0, 1, AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_DECODING_PARAM},
|
0, 1, AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_DECODING_PARAM},
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue