Use FFMPEGDeInit instead of avformat_network_deinit

pull/2571/head
Isaac Connor 2019-04-01 13:39:11 -04:00
parent c9985107ee
commit a6998cbc9e
1 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ FfmpegCamera::~FfmpegCamera() {
if ( capture ) {
Terminate();
}
avformat_network_deinit();
FFMPEGDeInit();
}
void FfmpegCamera::Initialise() {
@ -1034,7 +1034,7 @@ int FfmpegCamera::CaptureAndRecord( Image &image, timeval recording, char* event
int FfmpegCamera::FfmpegInterruptCallback(void *ctx) {
//FfmpegCamera* camera = reinterpret_cast<FfmpegCamera*>(ctx);
Debug(4, "FfmpegInterruptCallback");
//Debug(4, "FfmpegInterruptCallback");
return zm_terminate;
}