close the videoStore when closing FFmpegCamera

This commit is contained in:
Isaac Connor 2018-04-18 15:30:42 -04:00
parent 75248e7465
commit bd69f6a2ca
1 changed files with 5 additions and 0 deletions

View File

@ -677,6 +677,11 @@ int FfmpegCamera::Close() {
mFormatContext = NULL; mFormatContext = NULL;
} }
if ( videoStore ) {
delete videoStore;
videoStore = NULL;
}
return 0; return 0;
} // end FfmpegCamera::Close } // end FfmpegCamera::Close