]> git.sesse.net Git - ffmpeg/commit
avformat/aviobuf: write data into the IO buffer till the very end of the buffer
authorMarton Balint <cus@passwd.hu>
Sun, 20 Sep 2020 07:32:44 +0000 (09:32 +0200)
committerMarton Balint <cus@passwd.hu>
Fri, 9 Oct 2020 19:07:18 +0000 (21:07 +0200)
commit74c70efd12e6a603bc006bd11f7e7806e7c61aca
treee3c0801cda9530f0abb8410422969dd835bcd0f6
parent358c0bb168aa00fce3075954a0932a1be6d04347
avformat/aviobuf: write data into the IO buffer till the very end of the buffer

There was an off-by-one error when checking if the IO buffer still has enough
space till the end. One more byte can be safely written.

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