diff options
author | James Almer <jamrial@gmail.com> | 2017-11-11 18:04:22 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-11 18:04:22 -0300 |
commit | fb94e7b39a170d4b7fdf66e5d997525a76f12ab2 (patch) | |
tree | 38245f686288a748c0034c5b0eab6bbd23a85786 /libavcodec | |
parent | 8725cf424c90e7177e0b920e4a10bd60f4b80c38 (diff) | |
download | ffmpeg-fb94e7b39a170d4b7fdf66e5d997525a76f12ab2.tar.gz |
Revert "Merge commit '8e97a8c69162afce47abea96c8c0914f3550e212'"
This reverts commit 1a4315f24d2c5857ebeb379fe39f0124746ee30a, reversing
changes made to 869401cefc22e221edbf135bacaa1f21014fd001.
At least one distro (Arch) ships gsm.h inside the gsm/ folder
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libgsmdec.c | 5 | ||||
-rw-r--r-- | libavcodec/libgsmenc.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/libgsmdec.c b/libavcodec/libgsmdec.c index 85bb022b97..a503215f67 100644 --- a/libavcodec/libgsmdec.c +++ b/libavcodec/libgsmdec.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" diff --git a/libavcodec/libgsmenc.c b/libavcodec/libgsmenc.c index b60b23b31d..e25db95181 100644 --- a/libavcodec/libgsmenc.c +++ b/libavcodec/libgsmenc.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/common.h" |