summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-05 22:05:19 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-05 22:05:19 +0000
commit5043110082c2a38b15ff45ffc3713f1b7973dd35 (patch)
tree0625afd4d8fe7dacdf3ba81825d28f0f6e90500d /libaf
parent92805de182edd63621833727b1e07ac246be01dd (diff)
downloadmpv-5043110082c2a38b15ff45ffc3713f1b7973dd35.tar.bz2
mpv-5043110082c2a38b15ff45ffc3713f1b7973dd35.tar.xz
Rename libaf/af_format_alaw.c --> libaf/af_format_alaw.h and
libaf/af_format_ulaw.c --> libaf/af_format_ulaw.h. Both files are not compiled but used as standard headers, so there is no reason for them not be named like any other header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28273 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf')
-rw-r--r--libaf/af_format.c4
-rw-r--r--libaf/af_format_alaw.h (renamed from libaf/af_format_alaw.c)6
-rw-r--r--libaf/af_format_ulaw.h (renamed from libaf/af_format_ulaw.c)6
3 files changed, 8 insertions, 8 deletions
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
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 <inttypes.h>
@@ -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
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 <inttypes.h>
@@ -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 */