[FFmpeg-devel] [PATCH] libavdevice/v4l2: fix of crash caused by assert

Michael Niedermayer michaelni at gmx.at
Tue Aug 26 23:20:19 CEST 2014


On Wed, Aug 13, 2014 at 07:04:01PM +0400, Dmitry Volyntsev wrote:
> From: Dmitry Volyntsev <xeioexception at gmail.com>
> 
> s->buffers_queued constantly decremented and not incremented
> in case of (s->frame_size > 0 && buf.bytesused != s->frame_size)
> condition (caught on long run capture of Logitech C310)

can you explain why this happens ? where do this misatching
bufs come from ?
why is droping them correct ?


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

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140826/917a45a0/attachment.asc>


More information about the ffmpeg-devel mailing list