Mercurial > libavcodec.hg
comparison ac3_parser.c @ 10344:2b8a327189cd libavcodec
put_bits can only reliably write up to 31 bit bits, above it relies on
undefined shift behaviour.
Document this, fix the assert and add a put_bits32 to handle writing 32
bits and use that where necessary.
| author | reimar |
|---|---|
| date | Thu, 01 Oct 2009 15:40:29 +0000 |
| parents | ba5d9a97ab2f |
| children | 6e15ce7ca0ca |
comparison
equal
deleted
inserted
replaced
| 10343:b1218e0b0f2b | 10344:2b8a327189cd |
|---|
