cavs parser: fix parser context type
authorRafaël Carré <funman@videolan.org>
Wed, 8 Feb 2012 22:46:48 +0000 (17:46 -0500)
committerDiego Biurrun <diego@biurrun.de>
Fri, 10 Feb 2012 14:48:51 +0000 (15:48 +0100)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/cavs_parser.c

index a91be3a..504fed9 100644 (file)
@@ -99,8 +99,8 @@ static int cavsvideo_parse(AVCodecParserContext *s,
 
 AVCodecParser ff_cavsvideo_parser = {
     .codec_ids      = { CODEC_ID_CAVS },
-    .priv_data_size = sizeof(ParseContext1),
+    .priv_data_size = sizeof(ParseContext),
     .parser_parse   = cavsvideo_parse,
-    .parser_close   = ff_parse1_close,
+    .parser_close   = ff_parse_close,
     .split          = ff_mpeg4video_split,
 };