Only have fifo if HAVE_LIBSWRESAMPLE

This commit is contained in:
Isaac Connor 2021-04-20 17:18:45 -04:00
parent 1657d30be6
commit a3379c986b
1 changed files with 1 additions and 1 deletions

View File

@ -66,12 +66,12 @@ class VideoStore {
#ifdef HAVE_LIBSWRESAMPLE
SwrContext *resample_ctx;
AVAudioFifo *fifo;
#else
#ifdef HAVE_LIBAVRESAMPLE
AVAudioResampleContext* resample_ctx;
#endif
#endif
AVAudioFifo *fifo;
uint8_t *converted_in_samples;
const char *filename;