openh264/test
Martin Storsjö 292d78db5c Avoid writing in array index [-1] in DecUT_IntraPrediction
This fixes running the tests when built with clang in debug mode.

This was accidentally broken in 6e815e708 when switched to using
ENFORCE_STACK_ALIGN_1D instead of manually aligning the buffers.

Previously the aligned pointer always had at least 16 bytes of
extra space in the stack before the pointer, so using [-1] was ok,
while now when using ENFORCE_STACK_ALIGN_1D, it's only guaranteed
that the pointer itself is aligned, but not that there's any extra
space before the pointer. Therefore, we need to manually offset
everything by one kiStride extra. (This already was accounted for
in the total number of bytes allocated for the array.)
2014-07-03 10:20:42 +03:00
..
api add bgd fix to camera route as well to avoid visible artifact when using fake content in video 2014-07-03 11:01:02 +08:00
build Merge pull request #1044 from mstorsjo/android-cleanup-compiler-flags 2014-07-01 15:31:22 +08:00
common Add proper spacing in include directvies 2014-07-01 10:55:04 +03:00
decoder Avoid writing in array index [-1] in DecUT_IntraPrediction 2014-07-03 10:20:42 +03:00
encoder add encoder interface UT for IDR request 2014-07-02 18:42:05 +08:00
processing Don't reset the random number generator within the unit tests 2014-07-01 10:20:45 +03:00
utils Don't reset the random number generator within the unit tests 2014-07-01 10:20:45 +03:00
BaseDecoderTest.h astyle all 2014-06-25 18:50:41 -07:00
BaseEncoderTest.h astyle all 2014-06-25 18:50:41 -07:00
sha1.h astyle all 2014-06-25 18:50:41 -07:00
test_stdint.h Allow building tests on MSVC versions where stdint.h is missing 2014-02-24 15:38:37 +02:00