Skip to content

Commit

Permalink
Do not null packet->out_frame, it might be in use. The packet manages…
Browse files Browse the repository at this point in the history
… the frame
  • Loading branch information
Isaac Connor committed Jun 20, 2024
1 parent c56d23a commit 7d99f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zm_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2569,7 +2569,7 @@ bool Monitor::Analyse() {
}
}
// Free up the decoded frame as well, we won't be using it for anything at this time.
snap->out_frame = nullptr;
//snap->out_frame = nullptr;
}
} // end scope for event_lock
delete packet_lock;
Expand Down

0 comments on commit 7d99f1e

Please sign in to comment.