diff options
author | Marton Balint <cus@passwd.hu> | 2020-02-02 23:26:16 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-02-15 18:41:36 +0100 |
commit | 0f5127b1ca861402aed7a3f1023188fc5a40aa62 (patch) | |
tree | 96082fdf1748381da7e6e7f06a2b64d44433981b /libavformat | |
parent | e2307f4ff197646a7feee0edbcdd2d3262932676 (diff) | |
download | ffmpeg-0f5127b1ca861402aed7a3f1023188fc5a40aa62.tar.gz |
avformat/tests/url: make format more readable
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/tests/url.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/tests/url.c b/libavformat/tests/url.c index 1623179128..11ed5bb0b7 100644 --- a/libavformat/tests/url.c +++ b/libavformat/tests/url.c @@ -24,7 +24,7 @@ static void test(const char *base, const char *rel) { char buf[200], buf2[200]; ff_make_absolute_url(buf, sizeof(buf), base, rel); - printf("%s\n", buf); + printf("%50s %-20s => %s\n", base, rel, buf); if (base) { /* Test in-buffer replacement */ snprintf(buf2, sizeof(buf2), "%s", base); @@ -38,6 +38,7 @@ static void test(const char *base, const char *rel) int main(void) { + printf("Testing ff_make_absolute_url:\n"); test(NULL, "baz"); test("/foo/bar", "baz"); test("/foo/bar", "../baz"); |