avcodec/vp3: ensure header is parsed successfully before tables
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 2 Dec 2015 21:59:56 +0000 (22:59 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Dec 2015 09:59:28 +0000 (10:59 +0100)
commit63c50350b6e5038e3acf95a56fe58d43e3db5422
tree8e8a5d8e3a6753d2972e8adc465008da606433c3
parent7294d95689f9d70f565cb3aa8f485bed1d79928b
avcodec/vp3: ensure header is parsed successfully before tables

Fixes assertion failure
Fixes: 266ee543812e934f7b4a72923a2701d4/signal_sigabrt_7ffff6ae7cc9_7322_85218d61759d461bdf7387180e8000c9.ogg

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 26379d4fddc17cac853ef297ff327b58c44edbad)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp3.c