From 76167140a91c081a0cf9d0abcaa4da18d1bacadb Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 15 Nov 2016 16:19:30 +0100 Subject: [PATCH] qsvdec: Drop stray extra braces around initializer libavcodec/qsvdec.c:93:5: warning: braces around scalar initializer --- libavcodec/qsvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;