summaryrefslogtreecommitdiffstats
path: root/libavcodec/fft_init_table.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2019-12-14 23:19:14 +0100
committerMichael Niedermayer <[email protected]>2020-03-06 00:58:31 +0100
commit7f96325bc4ccdcb4767bd6d11591d1e66f1350f4 (patch)
treeaad8543c20b0de83496fc5db1ed775419e69e5f5 /libavcodec/fft_init_table.c
parenta2e4879432b9de6aa899b85aebbc0eb6a8b5f37f (diff)
bytestream: Make get_bytes_left compatible with overread
bytestream2_get_bytes_left returns an unsigned int; as a result, it returns big positive numbers if an overread already happened, making it unsuitable for scenarios where one wants to allow this in a controlled way (because the buffer is actually padded so that no segfaults can happen). So change it to return an ordinary int. Also, bytestream2_get_bytes_left_p has been modified in the same way. Signed-off-by: Andreas Rheinhardt <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/fft_init_table.c')
0 files changed, 0 insertions, 0 deletions