From b75d2f6164a21571765b37d35756c6ffced98ade Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 7 Feb 2021 20:46:24 -0500 Subject: [PATCH] Don't need to set ctx to null. fre_context does it for us --- src/zm_videostore.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index 252adb157..de2e8d0dc 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -612,8 +612,6 @@ VideoStore::~VideoStore() { Debug(4, "Freeing video_out_ctx"); avcodec_free_context(&video_out_ctx); - Debug(1, "Success freeing video_out_ctx %p", video_out_codec); - video_out_codec = nullptr; } // end if video_out_stream if ( audio_out_stream ) {