diff options
author | Philip Langdale <philipl@overt.org> | 2012-01-22 13:46:59 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-22 23:40:24 +0100 |
commit | eaf4bf6df2cf26c31bf7f787edd69812a681ab2e (patch) | |
tree | 49fab44b0c414a2479b4f3e63673573bac5cc603 | |
parent | 89ddff92a3853d5506287ee77cd091d20e320fb6 (diff) | |
download | ffmpeg-streaming-eaf4bf6df2cf26c31bf7f787edd69812a681ab2e.zip ffmpeg-streaming-eaf4bf6df2cf26c31bf7f787edd69812a681ab2e.tar.gz |
CrystalHD: Initialise variables to silence valgrind.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/crystalhd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c index 833b8d9..f184c06 100644 --- a/libavcodec/crystalhd.c +++ b/libavcodec/crystalhd.c @@ -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; |