avoid multiple inclusion of ac3.h
authorAurelien Jacobs <aurel@gnuage.org>
Tue, 8 May 2007 23:24:22 +0000 (23:24 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Tue, 8 May 2007 23:24:22 +0000 (23:24 +0000)
Originally committed as revision 8940 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ac3.h

index 3a14a3b3832416dac4cff717ea48a377672b1abb..bfaf7d0db2215b9543bd885a72a284c2c99122dc 100644 (file)
@@ -24,6 +24,9 @@
  * Common code between AC3 encoder and decoder.
  */
 
  * Common code between AC3 encoder and decoder.
  */
 
+#ifndef AC3_H
+#define AC3_H
+
 #include "ac3tab.h"
 
 #define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */
 #include "ac3tab.h"
 
 #define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */
@@ -148,3 +151,5 @@ void ac3_parametric_bit_allocation(AC3BitAllocParameters *s, uint8_t *bap,
                                    int snroffset, int fgain, int is_lfe,
                                    int deltbae,int deltnseg,
                                    uint8_t *deltoffst, uint8_t *deltlen, uint8_t *deltba);
                                    int snroffset, int fgain, int is_lfe,
                                    int deltbae,int deltnseg,
                                    uint8_t *deltoffst, uint8_t *deltlen, uint8_t *deltba);
+
+#endif /* AC3_H */