Mercurial > mplayer.hg
changeset 6757:f72fc85934e5
10L bugs founds by Jindrich Makovicka <makovicki at KMLinux dot fjfi dot cvuti dot cz>
author | albeu |
---|---|
date | Sat, 20 Jul 2002 14:26:38 +0000 |
parents | 6af6d7b40638 |
children | ecc71f27bfd7 |
files | input/input.c libvo/vo_aa.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/input/input.c Sat Jul 20 13:53:53 2002 +0000 +++ b/input/input.c Sat Jul 20 14:26:38 2002 +0000 @@ -446,7 +446,8 @@ ptr = strchr(ptr,' '); if(!ptr) break; while(ptr[0] == ' ' || ptr[0] == '\t') ptr++; - if(ptr[0] == '\0') break; + if(ptr[0] == '\0') break; + cmd->args[i].type = cmd_def->args[i].type; switch(cmd_def->args[i].type) { case MP_CMD_ARG_INT: errno = 0;
--- a/libvo/vo_aa.c Sat Jul 20 13:53:53 2002 +0000 +++ b/libvo/vo_aa.c Sat Jul 20 14:26:38 2002 +0000 @@ -200,7 +200,7 @@ /* * places the mplayer status osd */ - if (vo_osd_text) { + if (vo_osd_text && vo_osd_text[0] != 0) { int len; if(vo_osd_text[0] < 32) { len = strlen(__sub_osd_names_short[vo_osd_text[0]]) + strlen(vo_osd_text+1) + 2;