aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDikshita Agarwal <[email protected]>2024-01-10 11:42:14 +0530
committerHans Verkuil <[email protected]>2024-06-30 11:22:44 +0200
commite750a4b1224142bd8dd057b0d5adf8a5608b7e77 (patch)
treeae6ec44d2fb051daa356f75c5c9a58807b26f88c /lib/test_fortify/write_overflow-strncpy-src.c
parent8e04a24ba5ddfb43fa29028ee31bb35c133e665c (diff)
media: venus: flush all buffers in output plane streamoff
For scenarios, when source change is followed by VIDIOC_STREAMOFF on output plane, driver should discard any queued OUTPUT buffers, which are not decoded or dequeued. Flush with HFI_FLUSH_INPUT does not have any actual impact. So, fix it, by invoking HFI_FLUSH_ALL, which will flush all queued buffers. Fixes: 85872f861d4c ("media: venus: Mark last capture buffer") Signed-off-by: Dikshita Agarwal <[email protected]> Tested-by: Nathan Hebert <[email protected]> Reviewed-by: Bryan O'Donoghue <[email protected]> Signed-off-by: Stanimir Varbanov <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions