summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/cabac.c
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2004-09-11 20:01:38 +0000
committerJames Stembridge <jstembridge@users.sourceforge.net>2004-09-11 20:01:38 +0000
commitabb6ce74beb401ef996c7a66f9b103d4fa566640 (patch)
treeb2a763cadd4369944fbdd7c1ce46a1615a74ebb3 /src/libffmpeg/libavcodec/cabac.c
parenta958fd5a24107fb894903fc5f5955e6d69eb2de0 (diff)
downloadxine-lib-abb6ce74beb401ef996c7a66f9b103d4fa566640.tar.gz
xine-lib-abb6ce74beb401ef996c7a66f9b103d4fa566640.tar.bz2
Support for H.264/AVC video
CVS patchset: 6959 CVS date: 2004/09/11 20:01:38
Diffstat (limited to 'src/libffmpeg/libavcodec/cabac.c')
-rw-r--r--src/libffmpeg/libavcodec/cabac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/cabac.c b/src/libffmpeg/libavcodec/cabac.c
index 2ae996a39..9d56e23fc 100644
--- a/src/libffmpeg/libavcodec/cabac.c
+++ b/src/libffmpeg/libavcodec/cabac.c
@@ -93,6 +93,7 @@ void ff_init_cabac_encoder(CABACContext *c, uint8_t *buf, int buf_size){
void ff_init_cabac_decoder(CABACContext *c, const uint8_t *buf, int buf_size){
c->bytestream_start=
c->bytestream= buf;
+ c->bytestream_end= buf + buf_size;
c->low= *c->bytestream++;
c->low= (c->low<<9) + ((*c->bytestream++)<<1);