diff options
author | Richard Acayan <mailingradian@gmail.com> | 2023-07-25 17:38:39 -0400 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2023-07-27 21:23:39 +0200 |
commit | 4fa1d3e7910c3fbe3aacbe5ae5233d0067569c02 (patch) | |
tree | 22e0a4fec5a8d5c2db81cd31a2aff17196447c13 /libavcodec/dca_exss.c | |
parent | 91e1d11d1405f325f6f52e2c8dd5bbbf2462e190 (diff) | |
download | ffmpeg-4fa1d3e7910c3fbe3aacbe5ae5233d0067569c02.tar.gz |
avcodec/v4l2_context: suppress POLLERR and fix crash when buffers are uninitialized
A POLLERR occurs when libavcodec attempts to dequeue output buffers
before enqueuing capture buffers. This could happen to an application
deciding to send the first coded packet. Suppress these POLLERRs when
the buffers are uninitialized and avoid crashing because of enumerating
uninitialized buffers.
See https://trac.ffmpeg.org/ticket/9957 for the original bug report.
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/dca_exss.c')
0 files changed, 0 insertions, 0 deletions