diff options
author | Martin Storsjö <martin@martin.st> | 2012-08-31 12:52:18 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-09-04 23:13:38 +0300 |
commit | d58dd4b5b5d31cfd4092e38a5f2c894eee2ab078 (patch) | |
tree | 1ae54e270c0533eb8fd62bb8d3ebde4e9b737c34 /libavdevice | |
parent | 124134e42455763b28cc346fed1d07017a76e84e (diff) | |
download | ffmpeg-d58dd4b5b5d31cfd4092e38a5f2c894eee2ab078.tar.gz |
avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union member
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/libcdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/libcdio.c b/libavdevice/libcdio.c index 60360628ca..bf67a32a7f 100644 --- a/libavdevice/libcdio.c +++ b/libavdevice/libcdio.c @@ -161,7 +161,7 @@ static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, #define DEC AV_OPT_FLAG_DECODING_PARAM static const AVOption options[] = { { "speed", "Drive reading speed.", OFFSET(speed), AV_OPT_TYPE_INT, { 0 }, 0, INT_MAX, DEC }, - { "paranoia_mode", "Error recovery mode.", OFFSET(paranoia_mode), AV_OPT_TYPE_FLAGS, { 0 }, INT_MIN, INT_MAX, DEC, "paranoia_mode" }, + { "paranoia_mode", "Error recovery mode.", OFFSET(paranoia_mode), AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT_MIN, INT_MAX, DEC, "paranoia_mode" }, { "verify", "Verify data integrity in overlap area", 0, AV_OPT_TYPE_CONST, { .i64 = PARANOIA_MODE_VERIFY }, 0, 0, DEC, "paranoia_mode" }, { "overlap", "Perform overlapped reads.", 0, AV_OPT_TYPE_CONST, { .i64 = PARANOIA_MODE_OVERLAP }, 0, 0, DEC, "paranoia_mode" }, { "neverskip", "Do not skip failed reads.", 0, AV_OPT_TYPE_CONST, { .i64 = PARANOIA_MODE_NEVERSKIP }, 0, 0, DEC, "paranoia_mode" }, |