diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-07 03:16:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-07 03:20:36 +0200 |
commit | d067e2543752fd80f10d1197952523c650ea5c44 (patch) | |
tree | 683f3029fe37a315993368ef0a749d27298a492b | |
parent | c6c560deed51f614e772f537f4d3556953fa9f4d (diff) | |
download | ffmpeg-d067e2543752fd80f10d1197952523c650ea5c44.tar.gz |
mov: fix integer avoption types
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 0639ddb5f3..bf695e7832 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3335,9 +3335,9 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti static const AVOption options[] = { {"use_absolute_path", "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}, - {"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}, {NULL} }; |