diff --git a/libavformat/avidec.c b/libavformat/avidec.c index d454ce56f9..569d59216e 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -78,7 +78,7 @@ typedef struct { static const AVOption options[] = { - { "use_odml", "use odml index", offsetof(AVIContext, use_odml), FF_OPT_TYPE_INT, 1, -1, 1, AV_OPT_FLAG_DECODING_PARAM}, + { "use_odml", "use odml index", offsetof(AVIContext, use_odml), FF_OPT_TYPE_INT, {.dbl = 1}, -1, 1, AV_OPT_FLAG_DECODING_PARAM}, { NULL }, };