]> granicus.if.org Git - libx264/commit
Fix two issues in weightp
authorDylan Yudaken <dyudaken@gmail.com>
Mon, 16 Nov 2009 00:14:50 +0000 (16:14 -0800)
committerFiona Glaser <fiona@x264.com>
Mon, 16 Nov 2009 00:14:50 +0000 (16:14 -0800)
commit118dc81e7116b16ba1d2204a387aa88669b8e0bd
tree6634d4d32dd157b4683b9be993e7a61cf1fb4b1a
parent876c9e528bfcbf8932ac9ffb5091fb3f541ddb91
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