dfa: check for invalid access in decode_wdlt().
authorAnton Khirnov <anton@khirnov.net>
Wed, 27 Mar 2013 17:18:38 +0000 (18:18 +0100)
committerReinhard Tartler <siretart@tauware.de>
Wed, 24 Apr 2013 19:01:14 +0000 (21:01 +0200)
commit4c7f40c6df8306dd99f117f8b6f10be8d14690a6
tree44183711871aecaea7edcdef3b526867ecca81eb
parent9aa2eee31389696ddd4042b2f967ee02d38caeff
dfa: check for invalid access in decode_wdlt().

This can happen when the number of skipped lines is not consistent with
the number of coded lines.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 3623589edc7b1257bb45aa9e52c9631e133f22b6)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/dfa.c