indeo5dec: Make sure we have had a valid gop header.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Mar 2012 16:43:55 +0000 (17:43 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Mar 2012 16:43:55 +0000 (17:43 +0100)
commit229e4c133287955d5f3f837520a3602709b21950
tree572ba5fb6a585492147652cb0962cfa23562dd96
parent9879b506b0843bffdd7fe2b25ac8b0cd1cf043a6
indeo5dec: Make sure we have had a valid gop header.

This prevents decoding happening on a half initialized context.

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