aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2024-02-26 01:12:23 +0100
committerMarton Balint <cus@passwd.hu>2024-03-02 19:13:03 +0100
commit3a09c2122d1f77c3e14c43855b21ef1da9f7fa27 (patch)
tree49b9ae5fd6d5006f3724d9185604cd590f737f1e /libavcodec
parent315be8b27926fb46338a8fc10cf39cbb9f99dcc8 (diff)
downloadffmpeg-3a09c2122d1f77c3e14c43855b21ef1da9f7fa27.tar.gz
avformat/wavdec: dynamically set max_size by default
The wav demuxer by default tried to demux 4096-byte packets which caused packets with very few number of samples for files with high channel count. This caused a significant overhead especially since the latest ffmpeg.c threading changes. So let's use a similar approach for selecting audio frame size which is already used in the PCM demuxer, which is to read 25 times per second but at most 1024 samples. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions