]> git.videolan.org Git - x264.git/commit
Fix two issues in weightp
authorDylan Yudaken <dyudaken@gmail.com>
Mon, 16 Nov 2009 00:14:50 +0000 (16:14 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 16 Nov 2009 00:14:50 +0000 (16:14 -0800)
commite8501efbd235b1b5321adda8926e7a859beafd3c
tree60dc564d13ed7fac8b1b5869855c8b1268fdfa1a
parent4f0a545fa7528b4820141ac6d0b8bbe2e643d905
Fix two issues in weightp
If analysis decided on an offset of -128, x264 would create non-compliant streams.
Fix some cases with nearly all intra blocks where analysis could pick very weird weights.
Also add some asserts to check compliancy.
encoder/encoder.c
encoder/slicetype.c