diff options
author | Jaroslav Beran <jara.beran@gmail.com> | 2017-09-20 15:14:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-09-24 02:33:48 +0200 |
commit | 00a1e1337f22376909338a5319a378b2e2afdde8 (patch) | |
tree | f9d8ec3251b3d3842d944e789d7e0f2b763e782b /libswscale/options.c | |
parent | 5a9415533dd064d44605b3a3896a53377b7a5ca8 (diff) | |
download | ffmpeg-00a1e1337f22376909338a5319a378b2e2afdde8.tar.gz |
libavdevice/v4l2: fix invalid access to struct v4l2_buffer
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.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/options.c')
0 files changed, 0 insertions, 0 deletions