Commit a633a7c1 authored by Stefan Westerfeld's avatar Stefan Westerfeld

SRC: fix wrong usage of warning() / error() for unexpected EOF message

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 22045d08
......@@ -743,10 +743,10 @@ add_stream_watermark (AudioInputStream *in_stream, AudioOutputStream *out_stream
auto msg = string_printf ("unexpected EOF; input frames (%zd) != output frames (%zd)", expect_frames, total_output_frames);
if (Params::strict)
{
warning ("audiowmark: error: %s\n", msg.c_str());
error ("audiowmark: error: %s\n", msg.c_str());
return 1;
}
error ("audiowmark: warning: %s\n", msg.c_str());
warning ("audiowmark: warning: %s\n", msg.c_str());
}
}
......
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