[FFmpeg-cvslog] rangecoder-test: Allow running with small stack size.
Reimar Döffinger
git at videolan.org
Tue Sep 2 19:24:04 CEST 2014
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Mon Sep 1 23:08:56 2014 +0200| [3980ab12b728fb8e14fc3a54dcd4336336a25422] | committer: Reimar Döffinger
rangecoder-test: Allow running with small stack size.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3980ab12b728fb8e14fc3a54dcd4336336a25422
---
libavcodec/rangecoder.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c
index 69150a5..29fb909 100644
--- a/libavcodec/rangecoder.c
+++ b/libavcodec/rangecoder.c
@@ -120,11 +120,12 @@ int ff_rac_terminate(RangeCoder *c)
#include "libavutil/lfg.h"
#include "libavutil/log.h"
+static uint8_t b[9 * SIZE];
+static uint8_t r[9 * SIZE];
+
int main(void)
{
RangeCoder c;
- uint8_t b[9 * SIZE];
- uint8_t r[9 * SIZE];
int i;
uint8_t state[10];
AVLFG prng;
More information about the ffmpeg-cvslog
mailing list