From 3c95342a8cdf5b3b03d8b5e94ec099b0bc6a4f35 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Sat, 5 Jan 2019 11:58:38 -0700 Subject: [PATCH] decavcodec: fix potential use of uninitialized variables --- libhb/decavcodec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 30b39f974..2294f8e8b 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -479,8 +479,8 @@ static int decavcodecaWork( hb_work_object_t * w, hb_buffer_t ** buf_in, } for (pos = 0; pos < in->size; pos += len) { - uint8_t * pout; - int pout_len; + uint8_t * pout = NULL; + int pout_len = 0; int64_t parser_pts; if ( pv->parser != NULL ) -- 2.40.0