Another build fix for missing libav.

This commit is contained in:
mjbudd77 2021-09-24 19:19:11 -04:00
parent c0e923fd7d
commit 12183443bd
1 changed files with 1 additions and 1 deletions

View File

@ -1955,13 +1955,13 @@ int aviRecordInit(void)
g_config->getOption("SDL.AviRecordAudio", &recordAudio);
g_config->getOption("SDL.Sound.Rate", &audioSampleRate);
#ifdef _USE_LIBAV
// LIBAV has its own internal video format configs,
// it does not use this videoFormat symbol.
if ( videoFormat == AVI_LIBAV )
{
aviSetSelVideoFormat( AVI_RGB24 );
}
#ifdef _USE_LIBAV
LIBAV::setCodecFromConfig();
#endif
return 0;