diff options
author | John Stebbins <[email protected]> | 2019-02-11 08:12:53 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-02-11 08:12:53 -0700 |
commit | 0dfaca7611915764f4693dba189fc02d1bbf45fa (patch) | |
tree | 5b75e235b3fa0c4c04bf8a0160c25f52830a987c /libhb/encavcodec.c | |
parent | a54f09a9f1a292ac3b9e6699ea09d8e0239e6f7b (diff) |
encavcodec: fix potential use of uninitialized variable
Diffstat (limited to 'libhb/encavcodec.c')
-rw-r--r-- | libhb/encavcodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |