diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-08-04 23:04:05 +0000 |
---|---|---|
committer | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-08-04 23:04:05 +0000 |
commit | 905ef0d064d8fb6a349b071c686c4a7fa5a99e07 (patch) | |
tree | 3ae8bf7599a298afaaa2b80cf196e8b4cf9d5033 /libavcodec/vp5.c | |
parent | aaa91aa00edddb097cce7fa769db6643de37df11 (diff) | |
download | ffmpeg-905ef0d064d8fb6a349b071c686c4a7fa5a99e07.tar.gz |
VP5/6/8: eliminate CABAC dependency
Create a custom table for VP5/6/8's renorm to avoid depending on H.264's.
Saves one instruction in the arithmetic decoder as well.
Originally committed as revision 24701 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp5.c')
-rw-r--r-- | libavcodec/vp5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp5.c b/libavcodec/vp5.c index 489bcac828..7b3a487f1b 100644 --- a/libavcodec/vp5.c +++ b/libavcodec/vp5.c @@ -39,7 +39,7 @@ static int vp5_parse_header(VP56Context *s, const uint8_t *buf, int buf_size, VP56RangeCoder *c = &s->c; int rows, cols; - vp56_init_range_decoder(&s->c, buf, buf_size); + ff_vp56_init_range_decoder(&s->c, buf, buf_size); s->framep[VP56_FRAME_CURRENT]->key_frame = !vp56_rac_get(c); vp56_rac_get(c); ff_vp56_init_dequant(s, vp56_rac_gets(c, 6)); |