diff options
author | James Almer <jamrial@gmail.com> | 2023-01-11 10:37:58 -0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-02-09 15:35:14 +0100 |
commit | 30e1e7e0f324d7bf66b3b8583a3e49fd3cd101b2 (patch) | |
tree | fab03699d47933580b75b39bf9f1c99a2af1a9c2 /libavutil/tests | |
parent | 4fcd6c82cf45160880be35e6c097708323d9d93f (diff) | |
download | ffmpeg-30e1e7e0f324d7bf66b3b8583a3e49fd3cd101b2.tar.gz |
avutil: remove FF_API_D2STR
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/tests')
-rw-r--r-- | libavutil/tests/avstring.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libavutil/tests/avstring.c b/libavutil/tests/avstring.c index 37a2cf1833..bc0bde358d 100644 --- a/libavutil/tests/avstring.c +++ b/libavutil/tests/avstring.c @@ -109,21 +109,5 @@ int main(void) TEST_STRIREPLACE(haystack, needle [2], "Education consists mainly in what we have instead."); TEST_STRIREPLACE(haystack, needle [1], "Education consists mainly in what we have instead"); -#if FF_API_D2STR -FF_DISABLE_DEPRECATION_WARNINGS - /*Testing av_d2str()*/ - #define TEST_D2STR(value, expected) \ - if((ptr = av_d2str(value)) == NULL){ \ - printf("error, received null pointer!\n"); \ - } else { \ - if(strcmp(ptr, expected) != 0) \ - printf( "expected: %s, received: %s\n", expected, ptr); \ - av_free(ptr); \ - } - TEST_D2STR(0 , "0.000000"); - TEST_D2STR(-1.2333234, "-1.233323"); - TEST_D2STR(-1.2333237, "-1.233324"); -FF_ENABLE_DEPRECATION_WARNINGS -#endif return 0; } |