diff options
Diffstat (limited to 'libavcodec/cabac.c')
-rw-r--r-- | libavcodec/cabac.c | 1 |
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++; |