[FFmpeg-devel] [PATCH] cmdutils: poison released unrefed video buffers.

Nicolas George 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:
> 
> id-cin-video
> mpeg2-field-enc

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.

> filter-yadif-mode0
> filter-yadif-mode1

These two use the same sample as mpeg2-field-enc, and therefore suffer from
the same problem.

> h264-conformance-frext-hpcamolq_brcm_b
> h264-conformance-frext-hpcvmolq_brcm_b

These two, on the other hand, looks like genuine bugs: one of the very first
frames is released and then used as reference.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120818/52d18880/attachment.asc>


More information about the ffmpeg-devel mailing list