aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-03-17 21:46:06 -0300
committerJames Almer <jamrial@gmail.com>2016-03-17 21:46:06 -0300
commit488e6409df2487a2aedbd5adb5ac3f7e74216588 (patch)
treeab0113924c6bea85df3d8874129e9231af8487c1 /libavcodec
parent83df0a84a99d8291e5e1c5f7e2289cbd89107881 (diff)
downloadffmpeg-488e6409df2487a2aedbd5adb5ac3f7e74216588.tar.gz
libwebpenc_animencoder: add missing braces to struct initialization
The first member of the WebPAnimEncoderOptions struct is non scalar Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libwebpenc_animencoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libwebpenc_animencoder.c b/libavcodec/libwebpenc_animencoder.c
index 61ecae8a8a..91bf64ca8b 100644
--- a/libavcodec/libwebpenc_animencoder.c
+++ b/libavcodec/libwebpenc_animencoder.c
@@ -41,7 +41,7 @@ static av_cold int libwebp_anim_encode_init(AVCodecContext *avctx)
int ret = ff_libwebp_encode_init_common(avctx);
if (!ret) {
LibWebPAnimContext *s = avctx->priv_data;
- WebPAnimEncoderOptions enc_options = { 0 };
+ WebPAnimEncoderOptions enc_options = { { 0 } };
WebPAnimEncoderOptionsInit(&enc_options);
enc_options.verbose = av_log_get_level() >= AV_LOG_VERBOSE;
// TODO(urvang): Expose some options on command-line perhaps.