From 6041c21749d40774066740e612faa2f31ba6bd18 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 11 Jan 2005 03:18:08 +0000 Subject: fixing selftest Originally committed as revision 3820 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cabac.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'libavcodec/cabac.c') diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index c16fb162e0..9a598fa474 100644 --- a/libavcodec/cabac.c +++ b/libavcodec/cabac.c @@ -150,6 +150,9 @@ void ff_init_cabac_states(CABACContext *c, uint8_t const (*lps_range)[4], #if 0 //selftest #define SIZE 10240 + +#include "avcodec.h" + int main(){ CABACContext c; uint8_t b[9*SIZE]; @@ -197,33 +200,33 @@ STOP_TIMER("put_cabac_ueg") for(i=0; i