aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rtjpeg.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-08-06 13:59:04 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-08-06 14:34:12 +0200
commit859a579e9bbf47fae2e09494c43bcf813dcb2fad (patch)
treed1115299d70ddfaf865e3d275e7c2b179dd59d29 /libavcodec/rtjpeg.h
parent110d015ad450ea1b2fd40f0e9ce1c53507cdec5d (diff)
downloadffmpeg-859a579e9bbf47fae2e09494c43bcf813dcb2fad.tar.gz
nuv: check RTjpeg header for validity
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/rtjpeg.h')
-rw-r--r--libavcodec/rtjpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/rtjpeg.h b/libavcodec/rtjpeg.h
index 95b59e9c75..d1598954df 100644
--- a/libavcodec/rtjpeg.h
+++ b/libavcodec/rtjpeg.h
@@ -25,6 +25,9 @@
#include <stdint.h>
#include "dsputil.h"
+#define RTJPEG_FILE_VERSION 0
+#define RTJPEG_HEADER_SIZE 12
+
typedef struct {
int w, h;
DSPContext *dsp;