summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-01-05 11:58:38 -0700
committerJohn Stebbins <[email protected]>2019-01-05 11:58:38 -0700
commit3c95342a8cdf5b3b03d8b5e94ec099b0bc6a4f35 (patch)
tree9d3fa5fc3862548d2e902f76358b95c040c0e63b /libhb
parent7aa3beac3823ed319e1a8b7a4793d26d7400ed0d (diff)
decavcodec: fix potential use of uninitialized variables
Diffstat (limited to 'libhb')
-rw-r--r--libhb/decavcodec.c4
1 files 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 )