mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-19 22:37:36 -04:00
don't delete image when destroying zmpacket
This commit is contained in:
@@ -65,9 +65,8 @@ ZMPacket::~ZMPacket() {
|
||||
if ( frame ) {
|
||||
av_frame_free( &frame );
|
||||
}
|
||||
if ( image ) {
|
||||
delete image;
|
||||
}
|
||||
// We assume the image was allocated elsewhere, so we just unref it.
|
||||
image = NULL;
|
||||
}
|
||||
|
||||
int ZMPacket::decode( AVCodecContext *ctx ) {
|
||||
|
||||
Reference in New Issue
Block a user