[FFmpeg-devel] [PATCH] libavdevice/v4l2: fix invalid access to struct v4l2_buffer

Michael Niedermayer michael at niedermayer.cc
Sun Sep 24 01:02:06 EEST 2017


On Wed, Sep 20, 2017 at 03:14:54PM +0200, Jaroslav Beran wrote:
> In case we are short of queued buffers, at first v4l2_buffer was enqueued to kernel so it's not owned by
> user-space anymore. After that it's timestamp field was read, but it might be overwritten by driver at
> that moment. It resulted in invalid timestamp sometimes.
> ---
>  libavdevice/v4l2.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

will apply

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170924/741ed320/attachment.sig>


More information about the ffmpeg-devel mailing list