Commit 76167140 authored by Diego Biurrun's avatar Diego Biurrun

qsvdec: Drop stray extra braces around initializer

libavcodec/qsvdec.c:93:5: warning: braces around scalar initializer
parent 715b8243
...@@ -90,7 +90,7 @@ static int qsv_decode_init(AVCodecContext *avctx, QSVContext *q) ...@@ -90,7 +90,7 @@ static int qsv_decode_init(AVCodecContext *avctx, QSVContext *q)
const AVPixFmtDescriptor *desc; const AVPixFmtDescriptor *desc;
mfxSession session = NULL; mfxSession session = NULL;
int iopattern = 0; int iopattern = 0;
mfxVideoParam param = { { 0 } }; mfxVideoParam param = { 0 };
int frame_width = avctx->coded_width; int frame_width = avctx->coded_width;
int frame_height = avctx->coded_height; int frame_height = avctx->coded_height;
int ret; int ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment