Steven Liu
44cd7502c7
avutil/avstring: improve av_strreplace implement
Use AVBprint to implement av_strreplace
add av_strreplace test case TEST_STRREPLACE
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
8 years ago
James Almer
0abcebe3d6
tests/avstring: free the pointer after calls to av_d2str()
Fixes memleaks.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Thomas Turner
e303e3d4b9
avutil: Improved test coverage for avstring.c
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Diego Biurrun
f2422b5875
testprogs: Mark some tables as static const
9 years ago
Diego Biurrun
d12b5b2f13
build: Split test programs off into separate files
This avoids spurious library rebuilds when only the test program
code is changed and simplifies the build system.
9 years ago