motionpixels: Check that the vlc table has been fully inited
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Feb 2013 17:40:12 +0000 (18:40 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Feb 2013 17:44:01 +0000 (18:44 +0100)
commitb5fc95e77f9e154978d914548b86a8bc9fd1d0f2
treea715a63f144458dc4e3757efe7a5c4fb28ee46c7
parent4401958fdc9abd3551dd1903bd6d30890329b448
motionpixels: Check that the vlc table has been fully inited

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/motionpixels.c