Commit 4980f54d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avio: fix FTBFS with lavf < 54

parent 497ce0b9
......@@ -328,7 +328,7 @@ static ssize_t Write(sout_access_out_t *p_access, block_t *p_buffer)
val = url_write(p_sys->context, p_buffer->p_buffer, p_buffer->i_buffer);
if (val < 0)
goto error;
i_write += written;
i_write += val;
#else
avio_write(p_sys->context, p_buffer->p_buffer, p_buffer->i_buffer);
avio_flush(p_sys->context);
......
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