diff roqvideo.h @ 8643:1fa3e8a72ca5 libavcodec

Do not allocate RoqTempData on the stack
author vitor
date Sat, 24 Jan 2009 08:15:43 +0000
parents c4a4495715dd
children aa459306ee59
line wrap: on
line diff
--- a/roqvideo.h	Fri Jan 23 22:27:19 2009 +0000
+++ b/roqvideo.h	Sat Jan 24 08:15:43 2009 +0000
@@ -39,6 +39,8 @@
     int d[2];
 } motion_vect;
 
+struct RoqTempData;
+
 typedef struct RoqContext {
 
     AVCodecContext *avctx;
@@ -69,6 +71,7 @@
 
     AVFrame *frame_to_enc;
     uint8_t *out_buf;
+    struct RoqTempData *tmpData;
 } RoqContext;
 
 #define RoQ_INFO              0x1001