mlpdec: Do not set invalid context in read_restart_header
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 10 Jul 2013 02:35:34 +0000 (04:35 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 12 Jul 2013 02:34:49 +0000 (04:34 +0200)
commite9d394f3fad7e8fd8fc80e3b33cb045bbaceb446
tree206c223ccd120bdb0e1b375fb8075234cbcc53f9
parent2b379a925162b6783bd9a81dc03e647e8b65494c
mlpdec: Do not set invalid context in read_restart_header

The faulty values rippled further down the codepath causing a
hard-to-track segfault in the assembly code.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/mlpdec.c