summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideo.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-01-24 08:15:43 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-01-24 08:15:43 +0000
commite0df9e44257bc608b502097a4edf019e39f425de (patch)
tree1c964e40c815ec4830cd8b285b72a8c6e66bc7f9 /libavcodec/roqvideo.h
parentc6f79c3e0b7db8b142039081ee56000f1a1e8a5c (diff)
Do not allocate RoqTempData on the stack
Originally committed as revision 16739 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/roqvideo.h')
-rw-r--r--libavcodec/roqvideo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/roqvideo.h b/libavcodec/roqvideo.h
index 03c03ed516..2b69838757 100644
--- a/libavcodec/roqvideo.h
+++ b/libavcodec/roqvideo.h
@@ -39,6 +39,8 @@ typedef struct {
int d[2];
} motion_vect;
+struct RoqTempData;
+
typedef struct RoqContext {
AVCodecContext *avctx;
@@ -69,6 +71,7 @@ typedef struct RoqContext {
AVFrame *frame_to_enc;
uint8_t *out_buf;
+ struct RoqTempData *tmpData;
} RoqContext;
#define RoQ_INFO 0x1001