Skip to content
Snippets Groups Projects
Commit 4bc447a3 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

Fix compilation with --disable-everything --enable-outdev=alsa.

Bug found and analysed by skierpage.
parent ba5ff1b3
No related branches found
No related tags found
No related merge requests found
......@@ -319,7 +319,8 @@ av_cold int ff_alsa_close(AVFormatContext *s1)
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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment