aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/iv8.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-12-31 11:41:11 +0100
committerAnton Khirnov <anton@khirnov.net>2022-01-10 16:11:34 +0100
commitf480c43dfa797c12154f9d2c1fb6365c0ab953a6 (patch)
treebc468cec587d769baf4bc6bfe82d27c1ca85d818 /libavformat/iv8.c
parent53f513c60b460f3597c831e41e455c40a2862920 (diff)
downloadffmpeg-f480c43dfa797c12154f9d2c1fb6365c0ab953a6.tar.gz
lavu/fifo: return errors on trying to read/write too much
Trying to write too much will currently overwrite previous data. Trying to read too much will either av_assert2() in av_fifo_drain() or return old data. Trying to peek too much will either av_assert2() in av_fifo_generic_peek_at() or return old data. Return an error code in all these cases, which is safer and more consistent.
Diffstat (limited to 'libavformat/iv8.c')
0 files changed, 0 insertions, 0 deletions