mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
92805de182
commit
5043110082
|
@ -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);
|
||||
|
|
|
@ -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 */
|
|
@ -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 */
|
Loading…
Reference in New Issue