]> git.sesse.net Git - ffmpeg/commit
avformat/aviobuf: do not allocate a new buffer in ffio_ensure_seekback if not needed
authorMarton Balint <cus@passwd.hu>
Mon, 28 Sep 2020 22:15:27 +0000 (00:15 +0200)
committerMarton Balint <cus@passwd.hu>
Fri, 9 Oct 2020 19:07:18 +0000 (21:07 +0200)
commit84d88154995e26ff2dea6b17893a70d309983918
tree5372316a77f6f021c8392da6f5723995caa2ced1
parentda74a740617be53bc83b6b952cfb9b8866ccc222
avformat/aviobuf: do not allocate a new buffer in ffio_ensure_seekback if not needed

Let's move unread data to the start of the old buffer instead.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/aviobuf.c