]> git.videolan.org Git - x264.git/commit
Fix bitstream alignment with multiple slices
authorJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 22 Jan 2010 07:07:11 +0000 (23:07 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Thu, 28 Jan 2010 17:01:05 +0000 (09:01 -0800)
commit1a1b356a2996629d2c5ad2b568df8df9bff32954
tree0f296dc2908c215ec77a7a3b341ac0ac7ef4233a
parent90a249aa40deec9234f9ea7554deb8a418183094
Fix bitstream alignment with multiple slices
Broke multi-slice encoding on CPUs without unaligned access.
New system simply forces a bitstream realignment at the start of each writing function and flushes when it reaches the end.
common/bs.h
encoder/encoder.c
encoder/set.c