Commit 03700ad3 authored by Max Kellermann's avatar Max Kellermann

test/DumpDecoderClient: use STDOUT_FILENO

parent 6d01ee92
...@@ -101,7 +101,7 @@ DumpDecoderClient::SubmitData(gcc_unused InputStream *is, ...@@ -101,7 +101,7 @@ DumpDecoderClient::SubmitData(gcc_unused InputStream *is,
fprintf(stderr, "%u kbit/s\n", kbit_rate); fprintf(stderr, "%u kbit/s\n", kbit_rate);
} }
gcc_unused ssize_t nbytes = write(1, data, datalen); gcc_unused ssize_t nbytes = write(STDOUT_FILENO, data, datalen);
return DecoderCommand::NONE; return DecoderCommand::NONE;
} }
......
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