diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-09-01 23:08:56 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-09-02 19:20:28 +0200 |
commit | 3980ab12b728fb8e14fc3a54dcd4336336a25422 (patch) | |
tree | fadb37ffef6a5e4123931cfef64e9290bf697bbf /libavcodec | |
parent | e48cd2de98c3dbac998c76c54749d1b534b32ff6 (diff) | |
download | ffmpeg-3980ab12b728fb8e14fc3a54dcd4336336a25422.tar.gz |
rangecoder-test: Allow running with small stack size.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/rangecoder.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c index 69150a53bd..29fb909668 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; |