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, 6 Dec 2015 11:40:51 +0000 (12:40 +0100)
commit9ee155c745b528122a5709b52d4a25fff7aea698
tree1f4e1d5cc14e62a1dd09c42f58c053690afc9f2b
parent311de799a81ed67b62805f9d72684a5405563c93
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