[FFmpeg-cvslog] qsvdec: Drop stray extra braces around initializer
Diego Biurrun
git at videolan.org
Sat Apr 1 16:15:46 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Nov 15 16:19:30 2016 +0100| [76167140a91c081a0cf9d0abcaa4da18d1bacadb] | committer: Diego Biurrun
qsvdec: Drop stray extra braces around initializer
libavcodec/qsvdec.c:93:5: warning: braces around scalar initializer
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=76167140a91c081a0cf9d0abcaa4da18d1bacadb
---
libavcodec/qsvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index 9e5b1b3..b6fead0 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;
More information about the ffmpeg-cvslog
mailing list