Mercurial > mplayer.hg
changeset 9923:9eb5d5bd9aaa
Fixed the code that checks for a ".rm" URL extension to also make sure
that the extension is not NULL.
author | rsf |
---|---|
date | Fri, 18 Apr 2003 07:48:29 +0000 |
parents | 6cb7a295ab0e |
children | d66ed2c80ddf |
files | libmpdemux/network.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/network.c Thu Apr 17 20:39:41 2003 +0000 +++ b/libmpdemux/network.c Fri Apr 18 07:48:29 2003 +0000 @@ -592,7 +592,7 @@ extension=(url->file)+i+1; break; } - if (!strcasecmp(extension, "rm")) { + if (extension != NULL && !strcasecmp(extension, "rm")) { *file_format = DEMUXER_TYPE_REAL; return 0; }