Only have fifo if HAVE_LIBSWRESAMPLE
This commit is contained in:
parent
1657d30be6
commit
a3379c986b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue