diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-08-06 13:59:04 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-08-06 14:34:12 +0200 |
commit | 859a579e9bbf47fae2e09494c43bcf813dcb2fad (patch) | |
tree | d1115299d70ddfaf865e3d275e7c2b179dd59d29 /libavcodec/rtjpeg.h | |
parent | 110d015ad450ea1b2fd40f0e9ce1c53507cdec5d (diff) | |
download | ffmpeg-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.h | 3 |
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; |