summaryrefslogtreecommitdiffstats
path: root/libavformat/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r--libavformat/gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gif.c b/libavformat/gif.c
index e2118fe..6c1a932 100644
--- a/libavformat/gif.c
+++ b/libavformat/gif.c
@@ -355,7 +355,7 @@ static int gif_write_trailer(AVFormatContext *s)
#define ENC AV_OPT_FLAG_ENCODING_PARAM
static const AVOption options[] = {
{ "loop", "Number of times to loop the output.", OFFSET(loop),
- AV_OPT_TYPE_INT, { 0 }, 0, 65535, ENC },
+ AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 65535, ENC },
{ NULL },
};
OpenPOWER on IntegriCloud