From e0df9e44257bc608b502097a4edf019e39f425de Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sat, 24 Jan 2009 08:15:43 +0000 Subject: Do not allocate RoqTempData on the stack Originally committed as revision 16739 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/roqvideo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/roqvideo.h') 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 -- cgit v1.2.3