aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/opencl/unsharp.cl
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2020-09-20 00:01:48 +0200
committerMarton Balint <cus@passwd.hu>2020-10-09 21:07:18 +0200
commita3943c48472ebbef62034c4449462b5126c07007 (patch)
tree4670197037a76b50f438f06c6552f397a16ae012 /libavfilter/opencl/unsharp.cl
parent6d972beb23385022319cb36892519c70b0d0fc22 (diff)
downloadffmpeg-a3943c48472ebbef62034c4449462b5126c07007.tar.gz
avformat/aviobuf: fix checks in ffio_ensure_seekback
The new buf_size was detemined too conservatively, maybe because of the off-by-one issue which was fixed recently in fill_buffer. We can safely substract 1 more from the new buffer size, because max_buffer_size space must only be guaranteed when we are reading the last byte of the requested window. Comparing the new buf_size against filled did not make a lot of sense, what makes sense is that we want to reallocate the buffer if the new buf_size is bigger than the old, therefore the change in the check. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/opencl/unsharp.cl')
0 files changed, 0 insertions, 0 deletions