huffyuvdec: Check init_vlc() return codes.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Jan 2013 17:29:41 +0000 (18:29 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Feb 2013 14:18:23 +0000 (15:18 +0100)
commitba4b57e8024a9635b4eaf7f3cc08837b065bd4c9
tree3e1f922a18748fb539313f687e0adf28100f88b3
parentef953f760ef1b616574cabf2a3e9580b7bf21ac4
huffyuvdec: Check init_vlc() return codes.

Prevents out of array writes

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f67a0d115254461649470452058fa3c28c0df294)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 95ab8d33e1a680f30a5a9605175112008ab81afc)

Conflicts:

libavcodec/huffyuv.c
(cherry picked from commit 277def59fce10d91e3113e5c0f63e22bc4abfa88)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/huffyuv.c