diff options
author | Giorgio Vazzana <mywing81@gmail.com> | 2013-03-09 14:36:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-09 16:58:53 +0100 |
commit | 0286b425409702a111fe72bc0efe529a5bafc4ed (patch) | |
tree | 2d4af41eae3e4e5f4ab5a13934cdba4c45123220 /libavcodec/wnv1.c | |
parent | 982070c113d70b4b97743c56ba9cd3e32c70169b (diff) | |
download | ffmpeg-streaming-0286b425409702a111fe72bc0efe529a5bafc4ed.zip ffmpeg-streaming-0286b425409702a111fe72bc0efe529a5bafc4ed.tar.gz |
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: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wnv1.c')
0 files changed, 0 insertions, 0 deletions