From 0dfaca7611915764f4693dba189fc02d1bbf45fa Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Mon, 11 Feb 2019 08:12:53 -0700 Subject: [PATCH] encavcodec: fix potential use of uninitialized variable --- libhb/encavcodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index 1ca9dbda5..3a163a2c3 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -102,7 +102,7 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job ) { int ret = 0; char reason[80]; - AVCodec * codec; + AVCodec * codec = NULL; AVCodecContext * context; AVRational fps; int64_t bit_rate_ceiling = -1; -- 2.40.0