diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2009-01-24 08:15:43 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-01-24 08:15:43 +0000 |
commit | e0df9e44257bc608b502097a4edf019e39f425de (patch) | |
tree | 1c964e40c815ec4830cd8b285b72a8c6e66bc7f9 /libavcodec/roqvideo.h | |
parent | c6f79c3e0b7db8b142039081ee56000f1a1e8a5c (diff) | |
download | ffmpeg-e0df9e44257bc608b502097a4edf019e39f425de.tar.gz |
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.h | 3 |
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 |