]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpegaudiotab.h
add a comment to indicate which #endif belong to which #define
[ffmpeg] / libavcodec / mpegaudiotab.h
index 2e7d3372ff7367e0ba431bc2e90d04bd10603ebc..63e93dd3c7e5321950f0b5f35deeb17ced31fe06 100644 (file)
@@ -4,8 +4,21 @@
  *
  * 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 FFmpeg.
+ *
+ * FFmpeg 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.
+ *
+ * FFmpeg 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 FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
  * 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