]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpegaudiotab.h
h264: fix invalid pointer arithmetic
[ffmpeg] / libavcodec / mpegaudiotab.h
index 2e7d3372ff7367e0ba431bc2e90d04bd10603ebc..45afe9bd161acab546e04a355ba801c2a043e301 100644 (file)
@@ -2,18 +2,37 @@
  * mpeg audio layer 2 tables. Most of them come from the mpeg audio
  * specification.
  *
- * Copyright (c) 2000, 2001 Fabrice Bellard.
+ * Copyright (c) 2000, 2001 Fabrice Bellard
  *
- * The licence of this code is contained in file LICENCE found in the
- * same archive
+ * This file is part of Libav.
+ *
+ * Libav is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * Libav is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Libav; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
- * @file mpegaudiotab.h
+ * @file
  * mpeg audio layer 2 tables.
  * Most of them come from the mpeg audio specification.
  */
 
+#ifndef AVCODEC_MPEGAUDIOTAB_H
+#define AVCODEC_MPEGAUDIOTAB_H
+
+#include <stdint.h>
+#include "mpegaudio.h"
+
 #define SQRT2 1.41421356237309514547
 
 static const int costab32[30] = {
@@ -96,3 +115,4 @@ static const float fixed_smr[SBLIMIT] =  {
 
 static const unsigned char nb_scale_factors[4] = { 3, 2, 1, 2 };
 
+#endif /* AVCODEC_MPEGAUDIOTAB_H */