Commit ccb5a4de authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

flac: Fix inlining failure warning

Also remove related, but old and irrelevant comment.
parent d9aa331c
......@@ -2203,10 +2203,11 @@ const char *get_decoded_outfilename(const char *infilename)
const char *get_outfilename(const char *infilename, const char *suffix)
{
if(0 == option_values.cmdline_forced_outfilename) {
static char buffer[4096]; /* @@@ bad MAGIC NUMBER */
static char buffer[4096];
if(0 == strcmp(infilename, "-") || option_values.force_to_stdout) {
safe_strncpy(buffer, "-", sizeof(buffer));
buffer [0] = '-';
buffer [1] = 0;
}
else {
char *p;
......
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