[FFmpeg-devel] [PATCH] check in eacmv for invalid decode type (issue 2513)

Peter Ross pross
Sun Jan 9 09:36:12 CET 2011


On Sat, Jan 08, 2011 at 09:28:28PM -0500, Daniel Kang wrote:
> For eacmv files that is set to use the second-last as the reference
> frame erroneously, ffmpeg crashes. This is because it attempts to access
> a frame that has already been freed. The patch attached adds a sanity
> check for this. Are there any comments?

Thanks for this. I reworked your patch to permit decoding of the
frame to continue, even if a dodgey block is encountered.
Commited in r26279.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110109/504d9b5c/attachment.pgp>



More information about the ffmpeg-devel mailing list