From: John Stebbins Date: Sat, 5 Jan 2019 18:58:38 +0000 (-0700) Subject: decavcodec: fix potential use of uninitialized variables X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c95342a8cdf5b3b03d8b5e94ec099b0bc6a4f35;p=handbrake decavcodec: fix potential use of uninitialized variables --- 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 )