Set default value for AVI video driver to be a safe choice that is supported by all platforms.
This commit is contained in:
parent
e57e8f7e4c
commit
da4997ea9c
|
@ -32,7 +32,7 @@ static int abufTail = 0;
|
|||
static int abufSize = 0;
|
||||
static uint32_t *rawVideoBuf = NULL;
|
||||
static int16_t *rawAudioBuf = NULL;
|
||||
static int videoFormat = AVI_VFW;
|
||||
static int videoFormat = AVI_RGB24;
|
||||
static int audioSampleRate = 48000;
|
||||
//**************************************************************************************
|
||||
|
||||
|
@ -369,6 +369,12 @@ static int close(void)
|
|||
|
||||
GlobalFree(bmapOut);
|
||||
GlobalFree(outBuf);
|
||||
|
||||
if ( cmpSet )
|
||||
{
|
||||
ICCompressorFree( &cmpvars );
|
||||
cmpSet = false;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue