diff --git a/libaf/af_format.c b/libaf/af_format.c index 4a1b43fc34..fdac68147e 100644 --- a/libaf/af_format.c +++ b/libaf/af_format.c @@ -43,8 +43,8 @@ long int lrintf(float); /* The below includes retrieves functions for converting to and from ulaw and alaw */ -#include "af_format_ulaw.c" -#include "af_format_alaw.c" +#include "af_format_ulaw.h" +#include "af_format_alaw.h" // Switch endianness static void endian(void* in, void* out, int len, int bps); diff --git a/libaf/af_format_alaw.c b/libaf/af_format_alaw.h similarity index 99% rename from libaf/af_format_alaw.c rename to libaf/af_format_alaw.h index 61a3efa8e7..bddf1a5374 100644 --- a/libaf/af_format_alaw.c +++ b/libaf/af_format_alaw.h @@ -21,8 +21,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPLAYER_AF_FORMAT_ALAW_C -#define MPLAYER_AF_FORMAT_ALAW_C +#ifndef MPLAYER_AF_FORMAT_ALAW_H +#define MPLAYER_AF_FORMAT_ALAW_H #include @@ -321,4 +321,4 @@ static int to_alaw(void* in, void* out, int len, int bps, int format) } return AF_OK; } -#endif /* MPLAYER_AF_FORMAT_ALAW_C */ +#endif /* MPLAYER_AF_FORMAT_ALAW_H */ diff --git a/libaf/af_format_ulaw.c b/libaf/af_format_ulaw.h similarity index 99% rename from libaf/af_format_ulaw.c rename to libaf/af_format_ulaw.h index 53492e852a..ecf521398c 100644 --- a/libaf/af_format_ulaw.c +++ b/libaf/af_format_ulaw.h @@ -21,8 +21,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPLAYER_AF_FORMAT_ULAW_C -#define MPLAYER_AF_FORMAT_ULAW_C +#ifndef MPLAYER_AF_FORMAT_ULAW_H +#define MPLAYER_AF_FORMAT_ULAW_H #include @@ -834,4 +834,4 @@ static int to_ulaw(void* in, void* out, int len, int bps, int format) return AF_OK; } -#endif /* MPLAYER_AF_FORMAT_ULAW_C */ +#endif /* MPLAYER_AF_FORMAT_ULAW_H */