Commit 14e8b4f7 authored by NzSN's avatar NzSN

update

parent f781f9c4
...@@ -19,7 +19,7 @@ option(DEBUG "Only enable during development" OFF) ...@@ -19,7 +19,7 @@ option(DEBUG "Only enable during development" OFF)
include_directories(${INCLUDE}) include_directories(${INCLUDE})
if(DEBUG) if(DEBUG)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address")
message("Fetching googletest...") message("Fetching googletest...")
# Google Test # Google Test
......
...@@ -42,7 +42,6 @@ static AVFormatContext* AVFormatInputContextConstructor( ...@@ -42,7 +42,6 @@ static AVFormatContext* AVFormatInputContextConstructor(
static void AVFormatInputContextDestructor(AVFormatContext *ctx) { static void AVFormatInputContextDestructor(AVFormatContext *ctx) {
if (ctx != nullptr) { if (ctx != nullptr) {
std::cerr << "Input DESTRUCTOR: " << ctx->filename << std::endl;
avformat_close_input(&ctx); avformat_close_input(&ctx);
} }
} }
...@@ -75,7 +74,6 @@ static AVFormatContext* AVFormatOutputContextConstructor( ...@@ -75,7 +74,6 @@ static AVFormatContext* AVFormatOutputContextConstructor(
} }
static void AVFormatOutputContextDestructor(AVFormatContext *ctx) { static void AVFormatOutputContextDestructor(AVFormatContext *ctx) {
std::cerr << "Output DESTRUCTOR: " << ctx->filename << std::endl;
if (ctx != nullptr) { if (ctx != nullptr) {
if (ctx->pb && strnlen(ctx->filename, 1024) > 0) if (ctx->pb && strnlen(ctx->filename, 1024) > 0)
avio_close(ctx->pb); avio_close(ctx->pb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment