1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-11 17:39:38 +00:00

Add multiple inclusion guards to all mp3lib headers.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30205 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-01-04 14:42:59 +00:00
parent 0a1e9b2902
commit 30c98f4877
4 changed files with 17 additions and 1 deletions

View File

@ -6,6 +6,9 @@
* smaller tables are often the part of a bigger table
*/
#ifndef MPLAYER_MP3LIB_HUFFMAN_H
#define MPLAYER_MP3LIB_HUFFMAN_H
struct newhuff
{
unsigned int linbits;
@ -329,4 +332,4 @@ static struct newhuff htc[] =
{ /* 1 , 1 , */ 0 , tab_c1 }
};
#endif /* MPLAYER_MP3LIB_HUFFMAN_H */

View File

@ -4,6 +4,9 @@
* $Id$
*/
#ifndef MPLAYER_MP3LIB_L2TABLES_H
#define MPLAYER_MP3LIB_L2TABLES_H
/*
* Layer 2 Alloc tables ..
* most other tables are calculated on program start (which is (of course)
@ -158,3 +161,4 @@ static struct al_table alloc_4[] = {
{2,0},{5,3},{7,5},{10,9},
{2,0},{5,3},{7,5},{10,9} };
#endif /* MPLAYER_MP3LIB_L2TABLES_H */

View File

@ -1,5 +1,8 @@
/* MP3 Player Library 2.0 (C) 1999 A'rpi/Astral&ESP-team */
#ifndef MPLAYER_MP3LIB_MP3_H
#define MPLAYER_MP3LIB_MP3_H
/* decoder level: */
#ifdef CONFIG_FAKE_MONO
void MP3_Init(int fakemono);
@ -33,3 +36,4 @@ void MP3_Play(void);
void MP3_Stop(void);
void MP3_CloseDevice(void);
#endif /* MPLAYER_MP3LIB_MP3_H */

View File

@ -9,6 +9,9 @@
* used source: musicout.h from mpegaudio package
*/
#ifndef MPLAYER_MP3LIB_MPG123_H
#define MPLAYER_MP3LIB_MPG123_H
#include "config.h"
#ifndef M_PI
@ -126,3 +129,5 @@ void dct36_sse(real *, real *, real *, real *, real *);
typedef int (*synth_func_t)( real *,int,short * );
typedef void (*dct36_func_t)(real *,real *,real *,real *,real *);
#endif /* MPLAYER_MP3LIB_MPG123_H */