Commit 0c44a4c6 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Fix bug in HLS temp wav file output.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent c42e9c42
......@@ -88,6 +88,7 @@ decode_context (const TSReader& reader, WavData& out_wav_data)
size_t r = fwrite (full_wav->data.data(), 1, full_wav->data.size(), tmp_file);
if (r != full_wav->data.size())
return Error (string_printf ("unable to write decode_context"));
fflush (tmp_file);
Error err = out_wav_data.load (tmp_file_name);
return err;
......
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