vc1parse: call vc1_init_common().
The parser uses VLC tables initialized in vc1_common_init(), therefore we should call this function on parser init also. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
This commit is contained in:
parent
9d3050d3e9
commit
c742ab4e81
3 changed files with 4 additions and 3 deletions
|
@ -188,7 +188,7 @@ static int vc1_parse_init(AVCodecParserContext *s)
|
|||
{
|
||||
VC1ParseContext *vpc = s->priv_data;
|
||||
vpc->v.s.slice_context_count = 1;
|
||||
return 0;
|
||||
return ff_vc1_init_common(&vpc->v);
|
||||
}
|
||||
|
||||
AVCodecParser ff_vc1_parser = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue