[FFmpeg-cvslog] CrystalHD: Initialise variables to silence valgrind.
Philip Langdale
git at videolan.org
Sun Jan 22 23:42:44 CET 2012
ffmpeg | branch: master | Philip Langdale <philipl at overt.org> | Sun Jan 22 13:46:59 2012 -0800| [eaf4bf6df2cf26c31bf7f787edd69812a681ab2e] | committer: Michael Niedermayer
CrystalHD: Initialise variables to silence valgrind.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eaf4bf6df2cf26c31bf7f787edd69812a681ab2e
---
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;
More information about the ffmpeg-cvslog
mailing list