diff options
author | Martin Storsjö <martin@martin.st> | 2010-07-24 09:04:44 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-07-24 09:04:44 +0000 |
commit | 496c645d3b3bb5ded7f5ce918ca21d3acac6b8df (patch) | |
tree | 6a7d7efa6a484e9f90e7fb0ac1a2e18b7134baa8 /libswscale/swscale.c | |
parent | 8dd25c52cbf57d4a28885abcc950c27a24606036 (diff) | |
download | ffmpeg-496c645d3b3bb5ded7f5ce918ca21d3acac6b8df.tar.gz |
Never shrink the ByteIOContext buffer in ff_rewind_with_probe_data
If there is little unread data in the ByteIOContext buffer, this may lead
to reducing the size of the ByteIOContext buffer to little more the probe
data size. This can lead to suboptimal aviobuf behaviour, e.g. making some
demuxers fail to do short seeks backwards (if the input isn't seekable).
Originally committed as revision 24478 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libswscale/swscale.c')
0 files changed, 0 insertions, 0 deletions