From 07d221569d17cacd5de4b01e68538716b3bfd5a1 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 24 Sep 2024 19:30:23 -0400 Subject: [PATCH] Let higher ups deal with non-video non-audio packets. Might fix a memleak --- src/zm_ffmpeg_camera.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/zm_ffmpeg_camera.cpp b/src/zm_ffmpeg_camera.cpp index 7ceeb4c7e4..f5ee58c1e1 100644 --- a/src/zm_ffmpeg_camera.cpp +++ b/src/zm_ffmpeg_camera.cpp @@ -248,7 +248,6 @@ int FfmpegCamera::Capture(std::shared_ptr &zm_packet) { lastPTS = mLastVideoPTS; } else { Debug(1, "Have packet which isn't for video or audio stream."); - return 0; } }