Commit cae7e002 authored by moritz's avatar moritz

#1585: Continue when openResource() fails.


git-svn-id: https://svn.xiph.org/trunk/ezstream@16497 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 3ac08efa
Changes in 0.5.6, released on XXXX-XX-XX:
* src/ezstream.c:
- [MISC] Be more tolerant towards faulty playlists and similar issues.
Failure to open a resource (e.g. a media file) is no longer fatal
and operation will continue as far as possible. Idea from dhorton.
(Ticket #1585)
Changes in 0.5.5, released on 2009-08-01:
* win32/config.h:
......
......@@ -874,9 +874,9 @@ streamFile(shout_t *shout, const char *fileName)
if ((filepstream = openResource(shout, fileName, &popenFlag,
&mdata, &isStdin, &songLen))
== NULL) {
return (retval);
}
== NULL)
/* Continue with next resource on failure: */
return (1);
if (mdata != NULL) {
char *tmp, *metaData;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment