Another build fix for missing libav.
This commit is contained in:
parent
c0e923fd7d
commit
12183443bd
|
@ -1955,13 +1955,13 @@ int aviRecordInit(void)
|
||||||
g_config->getOption("SDL.AviRecordAudio", &recordAudio);
|
g_config->getOption("SDL.AviRecordAudio", &recordAudio);
|
||||||
g_config->getOption("SDL.Sound.Rate", &audioSampleRate);
|
g_config->getOption("SDL.Sound.Rate", &audioSampleRate);
|
||||||
|
|
||||||
|
#ifdef _USE_LIBAV
|
||||||
// LIBAV has its own internal video format configs,
|
// LIBAV has its own internal video format configs,
|
||||||
// it does not use this videoFormat symbol.
|
// it does not use this videoFormat symbol.
|
||||||
if ( videoFormat == AVI_LIBAV )
|
if ( videoFormat == AVI_LIBAV )
|
||||||
{
|
{
|
||||||
aviSetSelVideoFormat( AVI_RGB24 );
|
aviSetSelVideoFormat( AVI_RGB24 );
|
||||||
}
|
}
|
||||||
#ifdef _USE_LIBAV
|
|
||||||
LIBAV::setCodecFromConfig();
|
LIBAV::setCodecFromConfig();
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue