diff options
author | Grigori Goronzy <greg@blackbox> | 2009-07-12 23:03:46 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2009-07-12 23:03:46 +0200 |
commit | 81070577a7bf81231ca79ce4efebc7235a9b605f (patch) | |
tree | b627ee9c2460b451b7114c64de3646e02acf5697 /libass/ass_library.c | |
parent | 8d6e8231f4a33cb98a4927d8dc80bc9698cf36f2 (diff) | |
download | libass-81070577a7bf81231ca79ce4efebc7235a9b605f.tar.bz2 libass-81070577a7bf81231ca79ce4efebc7235a9b605f.tar.xz |
Output messages to stderr by default
Modify the default message handler to output to stderr instead of
stdout.
Diffstat (limited to 'libass/ass_library.c')
-rw-r--r-- | libass/ass_library.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libass/ass_library.c b/libass/ass_library.c index 9b6da02..f464af7 100644 --- a/libass/ass_library.c +++ b/libass/ass_library.c @@ -32,9 +32,9 @@ static void ass_msg_handler(int level, char *fmt, va_list *va, void *data) { if (level > MSGL_INFO) return; - printf("[ass] "); - vprintf(fmt, *va); - printf("\n"); + fprintf(stderr, "[ass] "); + vfprintf(stderr, fmt, *va); + fprintf(stderr, "\n"); } ass_library_t *ass_library_init(void) |