summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavcodec/mpeg4data.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/libavcodec/mpeg4data.h')
-rw-r--r--contrib/ffmpeg/libavcodec/mpeg4data.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/ffmpeg/libavcodec/mpeg4data.h b/contrib/ffmpeg/libavcodec/mpeg4data.h
index e199c6a14..ba8f9463c 100644
--- a/contrib/ffmpeg/libavcodec/mpeg4data.h
+++ b/contrib/ffmpeg/libavcodec/mpeg4data.h
@@ -25,6 +25,12 @@
* mpeg4 tables.
*/
+#ifndef FFMPEG_MPEG4DATA_H
+#define FFMPEG_MPEG4DATA_H
+
+#include <stdint.h>
+#include "mpegvideo.h"
+
// shapes
#define RECT_SHAPE 0
#define BIN_SHAPE 1
@@ -145,7 +151,8 @@ static RLTable rl_intra = {
intra_level,
};
-static const uint16_t inter_rvlc[170][2]={ //note this is identical to the intra rvlc except that its reordered
+/* Note this is identical to the intra rvlc except that it is reordered. */
+static const uint16_t inter_rvlc[170][2]={
{0x0006, 3},{0x0001, 4},{0x0004, 5},{0x001C, 7},
{0x003C, 8},{0x003D, 8},{0x007C, 9},{0x00FC, 10},
{0x00FD, 10},{0x01FC, 11},{0x01FD, 11},{0x03FC, 12},
@@ -421,3 +428,5 @@ const uint16_t ff_mpeg4_resync_prefix[8]={
static const uint8_t mpeg4_dc_threshold[8]={
99, 13, 15, 17, 19, 21, 23, 0
};
+
+#endif /* FFMPEG_MPEG4DATA_H */