1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

CrystalHD: Initialise variables to silence valgrind.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Philip Langdale 2012-01-22 13:46:59 -08:00 committed by Michael Niedermayer
parent 89ddff92a3
commit eaf4bf6df2

View File

@ -512,7 +512,7 @@ static inline CopyRet copy_frame(AVCodecContext *avctx,
void *data, int *data_size)
{
BC_STATUS ret;
BC_DTS_STATUS decoder_status;
BC_DTS_STATUS decoder_status = { 0, };
uint8_t trust_interlaced;
uint8_t interlaced;
@ -786,7 +786,7 @@ static inline CopyRet receive_frame(AVCodecContext *avctx,
static int decode(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
{
BC_STATUS ret;
BC_DTS_STATUS decoder_status;
BC_DTS_STATUS decoder_status = { 0, };
CopyRet rec_ret;
CHDContext *priv = avctx->priv_data;
HANDLE dev = priv->dev;