Skip to content
Snippets Groups Projects
Commit 0286b425 authored by Giorgio Vazzana's avatar Giorgio Vazzana Committed by Michael Niedermayer
Browse files

lavd/v4l2: correctly handle error conditions in mmap_read_frame()


In particular:

1) save errno before it (possibly) gets overwritten by other calls
2) do not forget to enqueue the buffer again in case of error

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 982070c1
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment