diff options
author | Jan Sebechlebsky <sebechlebskyjan@gmail.com> | 2016-06-03 14:04:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-03 14:49:56 +0200 |
commit | 0e84eee7198d9e261f0efc5a0831abc55aa66fd6 (patch) | |
tree | 118a2b56335f2b5094f069b4bea8dd9d02d9ae47 /libavformat/dump.c | |
parent | 8b05a7ffe4d78c68cd0091aefa8b380c7c4afe7a (diff) | |
download | ffmpeg-0e84eee7198d9e261f0efc5a0831abc55aa66fd6.tar.gz |
libavutil/fifo: Fix fifo grow step
Fifo was reallocating always to twice of the requested size.
This fixes it to reallocate to requested size, or twice of the
original size - whichever is greater.
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/dump.c')
0 files changed, 0 insertions, 0 deletions