[FFmpeg-devel] [PATCH] cmdutils: poison released unrefed video buffers.
nicolas.george at normalesup.org
Sat Aug 18 11:10:44 CEST 2012
Le duodi 2 fructidor, an CCXX, Nicolas George a écrit :
> The following FATE tests are broken by it:
For these two, the problem is a truncated last packet: the last frame is
left with the bottom containing whatever was already present there, which is
either the previous frame or the poisoned data.
It could be fixed by adding "-fflags +discardcorrupt" to tests that rely on
truncated samples and do not decode whole frames for truncated packets.
These two use the same sample as mpeg2-field-enc, and therefore suffer from
the same problem.
These two, on the other hand, looks like genuine bugs: one of the very first
frames is released and then used as reference.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel