Author | SHA1 | Message | Date |
---|---|---|---|
|
92e3a6fdac |
avutil: check pixdescs in a different place
Doing this check in avutil_version() is not appropriate. Also, this code is by default disabled (--assert-level is by default 0). A FATE run with defaults will never execute the checks. Move it to the pixelutils test program. Whatever reason there was in avutil_version() not to run this test by default, it should be fine in this test program. This means FATE will run the test by default. (Yes, pixelutils is not strictly the best place for it either, but it's better.) (pixdesc.c also has a small test program, but it's never run by FATE.) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> |
10 years ago |
|
e6b125e3be | avutil/pixelutils: add small buffers tests | 10 years ago |
|
6552b0558a |
avutil/pixelutils: check for malloc failure
Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> |
10 years ago |
|
84ac2f93ca |
avutil/pixelutils: avoid on stack arrays
The arrays are fairly large and could cause problems on some embedded systems also they are not endian safe as they mix 32 and 8bit Signed-off-by: Michael Niedermayer <michaelni@gmx.at> |
10 years ago |
|
28a2107a8d | avutil: add pixelutils API | 10 years ago |