]> git.sesse.net Git - ffmpeg/commit
avformat/aviobuf: increase default read buffer size to 2*max_buffer_size for streamed...
authorMarton Balint <cus@passwd.hu>
Sat, 19 Sep 2020 22:02:19 +0000 (00:02 +0200)
committerMarton Balint <cus@passwd.hu>
Fri, 9 Oct 2020 19:07:18 +0000 (21:07 +0200)
commita11cc04786c298a8e4df3da12d8e275eaaf6b333
treecdfdc451637c6b89f1d8a268d56e017f5e4640bb
parent25ced19aa3097abc0f8b76045efa06b3332c8b94
avformat/aviobuf: increase default read buffer size to 2*max_buffer_size for streamed data

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@passwd.hu>
libavformat/aviobuf.c