diff options
author | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-05 17:31:28 +0000 |
---|---|---|
committer | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-05 17:31:28 +0000 |
commit | 4d3aed390e7a1e04f3770b88b0a338b5e9377f0f (patch) | |
tree | 52f42f1c18c0bdd59e0b25af2f6007c097078223 | |
parent | f78a3783e5d58d7e77d27e1a87df9a9d17e240e5 (diff) | |
download | mpv-4d3aed390e7a1e04f3770b88b0a338b5e9377f0f.tar.bz2 mpv-4d3aed390e7a1e04f3770b88b0a338b5e9377f0f.tar.xz |
printf ->mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20715 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | stream/realrtsp/asmrp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stream/realrtsp/asmrp.c b/stream/realrtsp/asmrp.c index 22828e274f..480bb83633 100644 --- a/stream/realrtsp/asmrp.c +++ b/stream/realrtsp/asmrp.c @@ -417,13 +417,13 @@ static int asmrp_operand (asmrp_t *p) { asmrp_get_sym (p); if (p->sym != ASMRP_SYM_ID) { - printf ("error: identifier expected.\n"); + mp_msg(MSGT_STREAM, MSGL_ERR, "error: identifier expected.\n"); break; } i = asmrp_find_id (p, p->str); if (i<0) { - printf ("error: unknown identifier %s\n", p->str); + mp_msg(MSGT_STREAM, MSGL_ERR, "error: unknown identifier %s\n", p->str); } ret = p->sym_tab[i].v; @@ -442,7 +442,7 @@ static int asmrp_operand (asmrp_t *p) { ret = asmrp_condition (p); if (p->sym != ASMRP_SYM_RPAREN) { - printf ("error: ) expected.\n"); + mp_msg(MSGT_STREAM, MSGL_ERR, "error: ) expected.\n"); break; } @@ -450,7 +450,7 @@ static int asmrp_operand (asmrp_t *p) { break; default: - printf ("syntax error, $ number or ( expected\n"); + mp_msg(MSGT_STREAM, MSGL_ERR, "syntax error, $ number or ( expected\n"); } #ifdef LOG @@ -558,20 +558,20 @@ static void asmrp_assignment (asmrp_t *p) { } if (p->sym != ASMRP_SYM_ID) { - printf ("error: identifier expected\n"); + mp_msg(MSGT_STREAM, MSGL_ERR, "error: identifier expected\n"); return; } asmrp_get_sym (p); if (p->sym != ASMRP_SYM_EQUALS) { - printf ("error: = expected\n"); + mp_msg(MSGT_STREAM, MSGL_ERR, "error: = expected\n"); return; } asmrp_get_sym (p); if ( (p->sym != ASMRP_SYM_NUM) && (p->sym != ASMRP_SYM_STRING) && (p->sym != ASMRP_SYM_ID)) { - printf ("error: number or string expected\n"); + mp_msg(MSGT_STREAM, MSGL_ERR, "error: number or string expected\n"); return; } asmrp_get_sym (p); @@ -619,7 +619,7 @@ static int asmrp_rule (asmrp_t *p) { #endif if (p->sym != ASMRP_SYM_SEMICOLON) { - printf ("semicolon expected.\n"); + mp_msg(MSGT_STREAM, MSGL_ERR, "semicolon expected.\n"); return ret; } |