diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-01-23 10:23:24 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-23 10:23:24 +0000 |
commit | 07ad12ecdd951a171e9f5e1a64db3890198c993b (patch) | |
tree | db2b508cf5607928ccaec9912dd1a33e90c9dc7e | |
parent | c46e28746c7e0e9f8812aaaf4f53d4351a1c3624 (diff) | |
download | ffmpeg-07ad12ecdd951a171e9f5e1a64db3890198c993b.tar.gz |
Fix test program compilation: Add missing #include and update the call
of ff_init_cabac_states() to account for API changes.
Originally committed as revision 11602 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/cabac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index e12533818f..fc17bb6ac4 100644 --- a/libavcodec/cabac.c +++ b/libavcodec/cabac.c @@ -183,6 +183,7 @@ void ff_init_cabac_states(CABACContext *c){ #define SIZE 10240 #include "avcodec.h" +#include "cabac.h" int main(void){ CABACContext c; @@ -192,7 +193,7 @@ int main(void){ uint8_t state[10]= {0}; ff_init_cabac_encoder(&c, b, SIZE); - ff_init_cabac_states(&c, ff_h264_lps_range, ff_h264_mps_state, ff_h264_lps_state, 64); + ff_init_cabac_states(&c); for(i=0; i<SIZE; i++){ r[i]= random()%7; |