close the videoStore when closing FFmpegCamera
This commit is contained in:
parent
75248e7465
commit
bd69f6a2ca
|
@ -677,6 +677,11 @@ int FfmpegCamera::Close() {
|
|||
mFormatContext = NULL;
|
||||
}
|
||||
|
||||
if ( videoStore ) {
|
||||
delete videoStore;
|
||||
videoStore = NULL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
} // end FfmpegCamera::Close
|
||||
|
||||
|
|
Loading…
Reference in New Issue