[FFmpeg-devel] [PATCH 1/2] lavd/v4l2: correctly handle error conditions in mmap_read_frame()
Michael Niedermayer
michaelni at gmx.at
Sat Mar 9 17:09:09 CET 2013
On Sat, Mar 09, 2013 at 03:39:57PM +0100, Giorgio Vazzana wrote:
>
> v4l2.c | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
> fa29bfddf0f4e3b14cf42cc63515d43b7ab052b4 0001-lavd-v4l2-correctly-handle-error-conditions-in-mmap_.patch
> From 55a79a60a82498cd628334c6b84d75fa70358435 Mon Sep 17 00:00:00 2001
> From: Giorgio Vazzana <mywing81 at gmail.com>
> Date: Sat, 9 Mar 2013 14:36:56 +0100
> Subject: [PATCH 1/2] 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
> ---
> libavdevice/v4l2.c | 16 +++++++++++-----
> 1 files changed, 11 insertions(+), 5 deletions(-)
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130309/38735353/attachment.asc>
More information about the ffmpeg-devel
mailing list