#include <alsa/asoundlib.h>
#include "avdevice.h"
#include "libavutil/avassert.h"
+#include "libavutil/audioconvert.h"
#include "alsa-audio.h"
AlsaData *s = s1->priv_data;
av_freep(&s->reorder_buf);
- ff_timefilter_destroy(s->timefilter);
+ if (CONFIG_ALSA_INDEV)
+ ff_timefilter_destroy(s->timefilter);
snd_pcm_close(s->h);
return 0;
}