Commit 25c55e1f authored by Michael Smith's avatar Michael Smith

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
parent d5746470
......@@ -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);
......
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