aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rtjpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-06 22:14:43 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-06 22:22:37 +0200
commit7ae473e8a04f686bbeda75c40167c2df4211e662 (patch)
tree073415316c09d2c86fcd41640f0bab7fddc8c4ed /libavcodec/rtjpeg.h
parenta80ce390df38b30f70012c9ce059129516664805 (diff)
parentcf22705e87b6f5015b5cbbf60b6ce9b818eb1900 (diff)
downloadffmpeg-7ae473e8a04f686bbeda75c40167c2df4211e662.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: nuv: K&R formatting cosmetics build: generalise rules and variable settings for av* programs nuv: check RTjpeg header for validity Revert "nuv: check per-frame header for validity." imc: remove unused field IMCContext.one_div_log2 imc: fix size of a memset() imc: remove empty if() block fate: simplify variable setting filter.mak lavf: Declare an AVRational struct without a struct literal Conflicts: Makefile configure libavcodec/nuv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 e127a19202..48c84ff505 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;