summaryrefslogtreecommitdiff
path: root/libavcodec/qsvdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-11-15 16:19:30 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-17 16:53:48 +0100
commit76167140a91c081a0cf9d0abcaa4da18d1bacadb (patch)
treec801c2e847083e7a8d163c6067d01040f809e18b /libavcodec/qsvdec.c
parent715b8243460836fb7dd15bf7e41668e773beb276 (diff)
qsvdec: Drop stray extra braces around initializer
libavcodec/qsvdec.c:93:5: warning: braces around scalar initializer
Diffstat (limited to 'libavcodec/qsvdec.c')
-rw-r--r--libavcodec/qsvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index 9e5b1b345d..b6fead0b84 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -90,7 +90,7 @@ static int qsv_decode_init(AVCodecContext *avctx, QSVContext *q)
const AVPixFmtDescriptor *desc;
mfxSession session = NULL;
int iopattern = 0;
- mfxVideoParam param = { { 0 } };
+ mfxVideoParam param = { 0 };
int frame_width = avctx->coded_width;
int frame_height = avctx->coded_height;
int ret;