changeset 4940:f8e21b3014f7 libavcodec

avoid multiple inclusion of ac3.h
author aurel
date Tue, 08 May 2007 23:24:22 +0000
parents 3409dc0e7797
children c3ee5c30c297
files ac3.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ac3.h	Tue May 08 17:55:56 2007 +0000
+++ b/ac3.h	Tue May 08 23:24:22 2007 +0000
@@ -24,6 +24,9 @@
  * 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 */
@@ -148,3 +151,5 @@
                                    int snroffset, int fgain, int is_lfe,
                                    int deltbae,int deltnseg,
                                    uint8_t *deltoffst, uint8_t *deltlen, uint8_t *deltba);
+
+#endif /* AC3_H */