[MPlayer-cvslog] r28273 - in trunk/libaf: af_format.c af_format_alaw.c af_format_alaw.h af_format_ulaw.c af_format_ulaw.h
diego
subversion at mplayerhq.hu
Mon Jan 5 23:05:19 CET 2009
Author: diego
Date: Mon Jan 5 23:05:19 2009
New Revision: 28273
Log:
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.
Added:
trunk/libaf/af_format_alaw.h
- copied, changed from r28272, trunk/libaf/af_format_alaw.c
trunk/libaf/af_format_ulaw.h
- copied, changed from r28272, trunk/libaf/af_format_ulaw.c
Deleted:
trunk/libaf/af_format_alaw.c
trunk/libaf/af_format_ulaw.c
Modified:
trunk/libaf/af_format.c
Modified: trunk/libaf/af_format.c
==============================================================================
--- trunk/libaf/af_format.c Mon Jan 5 22:55:47 2009 (r28272)
+++ trunk/libaf/af_format.c Mon Jan 5 23:05:19 2009 (r28273)
@@ -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);
Copied and modified: trunk/libaf/af_format_alaw.h (from r28272, trunk/libaf/af_format_alaw.c)
==============================================================================
--- trunk/libaf/af_format_alaw.c Mon Jan 5 22:55:47 2009 (r28272, copy source)
+++ trunk/libaf/af_format_alaw.h Mon Jan 5 23:05:19 2009 (r28273)
@@ -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,
}
return AF_OK;
}
-#endif /* MPLAYER_AF_FORMAT_ALAW_C */
+#endif /* MPLAYER_AF_FORMAT_ALAW_H */
Copied and modified: trunk/libaf/af_format_ulaw.h (from r28272, trunk/libaf/af_format_ulaw.c)
==============================================================================
--- trunk/libaf/af_format_ulaw.c Mon Jan 5 22:55:47 2009 (r28272, copy source)
+++ trunk/libaf/af_format_ulaw.h Mon Jan 5 23:05:19 2009 (r28273)
@@ -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,
return AF_OK;
}
-#endif /* MPLAYER_AF_FORMAT_ULAW_C */
+#endif /* MPLAYER_AF_FORMAT_ULAW_H */
More information about the MPlayer-cvslog
mailing list