aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4video.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-04-03 19:14:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-04 02:23:58 +0200
commitf62880bfb8c72ccbfdce4dd9daf93af691060ddd (patch)
tree67cadf9f9b4d99a58e2d1d3be1d71c5bcd0be148 /libavcodec/mpeg4video.h
parent241913c0d041e09ddded851a47e0a4a7d6f88561 (diff)
downloadffmpeg-f62880bfb8c72ccbfdce4dd9daf93af691060ddd.tar.gz
mpeg4: use a self-explanatory #define MAX_NVOP_SIZE
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg4video.h')
-rw-r--r--libavcodec/mpeg4video.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpeg4video.h b/libavcodec/mpeg4video.h
index e83692cc87..43650bb007 100644
--- a/libavcodec/mpeg4video.h
+++ b/libavcodec/mpeg4video.h
@@ -59,6 +59,9 @@
#define VISUAL_OBJ_STARTCODE 0x1B5
#define VOP_STARTCODE 0x1B6
+/* smaller packets likely don't contain a real frame */
+#define MAX_NVOP_SIZE 19
+
typedef struct Mpeg4DecContext {
MpegEncContext m;