Commit eaf4bf6d authored by Philip Langdale's avatar Philip Langdale Committed by Michael Niedermayer

CrystalHD: Initialise variables to silence valgrind.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 89ddff92
...@@ -512,7 +512,7 @@ static inline CopyRet copy_frame(AVCodecContext *avctx, ...@@ -512,7 +512,7 @@ static inline CopyRet copy_frame(AVCodecContext *avctx,
void *data, int *data_size) void *data, int *data_size)
{ {
BC_STATUS ret; BC_STATUS ret;
BC_DTS_STATUS decoder_status; BC_DTS_STATUS decoder_status = { 0, };
uint8_t trust_interlaced; uint8_t trust_interlaced;
uint8_t interlaced; uint8_t interlaced;
...@@ -786,7 +786,7 @@ static inline CopyRet receive_frame(AVCodecContext *avctx, ...@@ -786,7 +786,7 @@ static inline CopyRet receive_frame(AVCodecContext *avctx,
static int decode(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) static int decode(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
{ {
BC_STATUS ret; BC_STATUS ret;
BC_DTS_STATUS decoder_status; BC_DTS_STATUS decoder_status = { 0, };
CopyRet rec_ret; CopyRet rec_ret;
CHDContext *priv = avctx->priv_data; CHDContext *priv = avctx->priv_data;
HANDLE dev = priv->dev; HANDLE dev = priv->dev;
......
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