diff options
Diffstat (limited to 'libavcodec/dirac_arith.c')
-rw-r--r-- | libavcodec/dirac_arith.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dirac_arith.c b/libavcodec/dirac_arith.c index 7eb9bd6..1e6b964 100644 --- a/libavcodec/dirac_arith.c +++ b/libavcodec/dirac_arith.c @@ -115,6 +115,7 @@ void ff_dirac_init_arith_decoder(DiracArith *c, GetBitContext *gb, int length) c->counter = -16; c->range = 0xffff; + c->error = 0; for (i = 0; i < DIRAC_CTX_COUNT; i++) c->contexts[i] = 0x8000; |