Browse Source

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

Bug found and analysed by skierpage.
tags/n0.9
Carl Eugen Hoyos 13 years ago
parent
commit
4bc447a3c5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavdevice/alsa-audio-common.c

+ 2
- 1
libavdevice/alsa-audio-common.c View File

@@ -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;
}


Loading…
Cancel
Save