summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideo.h
diff options
context:
space:
mode:
authoraddr-see-the-website@aetey.se <addr-see-the-website@aetey.se>2014-01-31 20:06:15 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-01 22:32:28 +0100
commit392b0345d6d27d1c3cac85d5b299072db1d09f5f (patch)
tree68b8322e3fc823f527c3545ee86d4550c6eda146 /libavcodec/roqvideo.h
parent80a79f2641367fdc8db37d8ff52438e61c826d8e (diff)
RoQ-encoder: introducing Quake 3 compatibility option
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/roqvideo.h')
-rw-r--r--libavcodec/roqvideo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/roqvideo.h b/libavcodec/roqvideo.h
index 39dda0c88b..3da6eaa991 100644
--- a/libavcodec/roqvideo.h
+++ b/libavcodec/roqvideo.h
@@ -43,6 +43,7 @@ struct RoqTempData;
typedef struct RoqContext {
+ const AVClass *class;
AVCodecContext *avctx;
AVFrame *last_frame;
AVFrame *current_frame;
@@ -69,6 +70,9 @@ typedef struct RoqContext {
const AVFrame *frame_to_enc;
uint8_t *out_buf;
struct RoqTempData *tmpData;
+
+ int quake3_compat; // Quake 3 compatibility option
+
} RoqContext;
#define RoQ_INFO 0x1001