OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba5ff1b
)
Fix compilation with --disable-everything --enable-outdev=alsa.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 18 Sep 2011 20:22:45 +0000
(22:22 +0200)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 18 Sep 2011 20:22:45 +0000
(22:22 +0200)
Bug found and analysed by skierpage.
libavdevice/alsa-audio-common.c
patch
|
blob
|
history
diff --git
a/libavdevice/alsa-audio-common.c
b/libavdevice/alsa-audio-common.c
index
0943ab0
..
79faf88
100644
(file)
--- a/
libavdevice/alsa-audio-common.c
+++ b/
libavdevice/alsa-audio-common.c
@@
-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;
}