1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2025-01-03 14:56:35 -05:00

#1585: Continue when openResource() fails.

git-svn-id: https://svn.xiph.org/trunk/ezstream@16497 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
moritz 2009-08-22 10:03:45 +00:00
parent 3ac08efae8
commit cae7e0029a
2 changed files with 12 additions and 3 deletions

9
NEWS
View File

@ -1,3 +1,12 @@
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:

View File

@ -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;