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>
Sun, 22 Sep 2013 20:52:12 +0000 (22:52 +0200)
commit03e2e95beb1a6203e5bcd55b38926f71272a3c2b
tree20ffac25944a653e5501657a6d9d667822987b25
parent8c0261d6859d06373593a914bbd300e2eaa414c9
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)

Conflicts:

libavcodec/huffyuv.c
libavcodec/huffyuv.c