diff options
author | John Stebbins <[email protected]> | 2015-11-13 08:23:27 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-11-13 08:23:27 -0800 |
commit | 474f3e22996eccb53955526bbb8adbd6b29aad85 (patch) | |
tree | 565bbdd392b2d67bf1ad96716131089e9c44c081 | |
parent | 476421bb2825cc1de6bb5407908406f69e745c52 (diff) | |
parent | 849a5283605cfdb6c5f9a1884ac0d86afc189788 (diff) |
Merge pull request #33 from schrotthaufen/fix
Added missing NULL pointer check in encx265Close
-rw-r--r-- | libhb/encx265.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/encx265.c b/libhb/encx265.c index 4ce890f99..a3af25c19 100644 --- a/libhb/encx265.c +++ b/libhb/encx265.c @@ -347,6 +347,7 @@ void encx265Close(hb_work_object_t *w) { hb_work_private_t *pv = w->private_data; + if (pv == NULL) return; if (pv->delayed_chapters != NULL) { struct chapter_s *item; |