]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpeg4data.h
Ignore blocks with no samples and flags (but usually with MD5 sum)
[ffmpeg] / libavcodec / mpeg4data.h
index 586a5871c4d072ef4dd10774db028ba1bc1dcf6c..e199c6a149d44e73b3340208aa213551e3b65f93 100644 (file)
@@ -1,3 +1,25 @@
+/*
+ * copyright (c) 2000,2001 Fabrice Bellard
+ * H263+ support
+ * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
+ *
+ * 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
+ */
+
 /**
  * @file mpeg4data.h
  * mpeg4 tables.
@@ -169,7 +191,7 @@ static const uint16_t inter_rvlc[170][2]={ //note this is identical to the intra
 {0x3F7C, 15},{0x3F7D, 15},{0x0000, 4}
 };
 
-static const uint8_t inter_rvlc_run[169]={
+static const int8_t inter_rvlc_run[169]={
  0,  0,  0,  0,  0,  0,  0,  0,
  0,  0,  0,  0,  0,  0,  0,  0,
  0,  0,  0,  1,  1,  1,  1,  1,
@@ -194,7 +216,7 @@ static const uint8_t inter_rvlc_run[169]={
 43, 44,
 };
 
-static const uint8_t inter_rvlc_level[169]={
+static const int8_t inter_rvlc_level[169]={
  1,  2,  3,  4,  5,  6,  7,  8,
  9, 10, 11, 12, 13, 14, 15, 16,
 17, 18, 19,  1,  2,  3,  4,  5,
@@ -273,7 +295,7 @@ static const uint16_t intra_rvlc[170][2]={
 {0x3F7C, 15},{0x3F7D, 15},{0x0000,  4}
 };
 
-static const uint8_t intra_rvlc_run[169]={
+static const int8_t intra_rvlc_run[169]={
  0,  0,  0,  0,  0,  0,  0,  0,
  0,  0,  0,  0,  0,  0,  0,  0,
  0,  0,  0,  0,  0,  0,  0,  0,
@@ -298,7 +320,7 @@ static const uint8_t intra_rvlc_run[169]={
 43, 44,
 };
 
-static const uint8_t intra_rvlc_level[169]={
+static const int8_t intra_rvlc_level[169]={
  1,  2,  3,  4,  5,  6,  7,  8,
  9, 10, 11, 12, 13, 14, 15, 16,
 17, 18, 19, 20, 21, 22, 23, 24,