comparison apc.c @ 5244:8c0b5c6d0f17 libavformat

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 1d3d17de20ba
children 536e5527c1e0
comparison
equal deleted inserted replaced
5243:13dd683f3ff2 5244:8c0b5c6d0f17