diff options
author | Brad Smith <brad@comstyle.com> | 2013-01-20 20:33:27 -0500 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-01-21 07:59:35 +0100 |
commit | c7df1532e5d690cb445ae443c998bd564c906a30 (patch) | |
tree | 516561a80e50a62b5e6c9a8ec7475148d3609c17 /libavcodec | |
parent | ce378f0dd0c4e5350b3280e6b3e8d6b46fe4b0a3 (diff) | |
download | ffmpeg-c7df1532e5d690cb445ae443c998bd564c906a30.tar.gz |
libgsm: detect libgsm header path
Libgsm header can reside either in the base include dir or in
the gsm subdir.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libgsm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c index b4d1c74f8c..cc0f05ec73 100644 --- a/libavcodec/libgsm.c +++ b/libavcodec/libgsm.c @@ -27,7 +27,12 @@ // The idiosyncrasies of GSM-in-WAV are explained at http://kbs.cs.tu-berlin.de/~jutta/toast.html +#include "config.h" +#if HAVE_GSM_H +#include <gsm.h> +#else #include <gsm/gsm.h> +#endif #include "libavutil/channel_layout.h" #include "libavutil/common.h" |