aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/cabac.c
diff options
context:
space:
mode:
authorMichael Niedermayer2003-06-09 02:24:51 +0000
committerMichael Niedermayer2003-06-09 02:24:51 +0000
commit5e20f836b3ad06a591ff232e742ef17c9c235297 (patch)
tree85a716861a0de6c715ba5029b064b61c51354a24 /libavcodec/cabac.c
parentcd394651c946436353e16db0d37cd4ede94111ba (diff)
FFV1 codec (our very simple lossless intra only codec, compresses much better then huffyuv)
Originally committed as revision 1939 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.c')
-rw-r--r--libavcodec/cabac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index 4e05e68561..3e50dc82a0 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -91,6 +91,7 @@ void ff_init_cabac_encoder(CABACContext *c, uint8_t *buf, int buf_size){
* @param buf_size size of buf in bits
*/
void ff_init_cabac_decoder(CABACContext *c, uint8_t *buf, int buf_size){
+ c->bytestream_start=
c->bytestream= buf;
c->low= *c->bytestream++;