aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/image.mak
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-02-08 19:13:45 +0100
committerAnton Khirnov <anton@khirnov.net>2022-02-15 10:16:16 +0100
commite9acff8a013bdd6d459116ceb35f8a53b60ff521 (patch)
tree56e3688ec676c4f8e729346cc06472a310119eb6 /tests/fate/image.mak
parent73b01844c2338fa037307539d161c6565d5f7f65 (diff)
downloadffmpeg-e9acff8a013bdd6d459116ceb35f8a53b60ff521.tar.gz
lavu/fifo: fix a corner case in av_fifo_grow2()
When the fifo is grown by exactly the current write offset, it would end up with offset_w = nb_elems. If av_fifo_write_from_cb() is called in such a state, the user callback would get callled with *nb_elems=0, which will then cause the write to return without writing anything.
Diffstat (limited to 'tests/fate/image.mak')
0 files changed, 0 insertions, 0 deletions