1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Set error if we have an unrecognised codec, so that we properly drop the source

rather than just continuing forever on unrecognisable input.

svn path=/icecast/trunk/icecast/; revision=11184
This commit is contained in:
Michael Smith 2006-04-20 16:51:27 +00:00
parent d574647025
commit 25c55e1f86

View File

@ -240,6 +240,7 @@ static int process_initial_page (format_plugin_t *plugin, ogg_page *page)
/* any others */
ERROR0 ("Seen BOS page with unknown type");
ogg_info->error = 1;
return -1;
} while (0);