[FFmpeg-devel] [PATCH 9/9] avformat/aviobuf: increase default read buffer size to 2*max_buffer_size for streamed data

Marton Balint cus at passwd.hu
Tue Oct 6 18:02:20 EEST 2020



On Wed, 30 Sep 2020, Paul B Mahol wrote:

> On Tue, Sep 29, 2020 at 11:10:21PM +0200, Marton Balint wrote:
>> This should increase the effectiveness of ffio_ensure_seekback by reducing the
>> number of buffer reallocations and memmoves/memcpys because even a small
>> seekback window requires max_buffer_size+window_size buffer space.
>> 
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  libavformat/aviobuf.c | 5 +++++
>>  1 file changed, 5 insertions(+)
>> 
>
> This patch set fixes demuxing chained oggs via pipe,
> so I'm not against it.

Thanks for testing.

Is there anybody who would like to comment on the patch series 
before I push it?

I know that some regression tests for avio would be good, but it is not 
something I plan working on.

Thanks,
Marton


More information about the ffmpeg-devel mailing list