]> git.sesse.net Git - ffmpeg/commitdiff
vc1: use ff_parse_close
authorRafaël Carré <funman@videolan.org>
Wed, 8 Feb 2012 22:46:51 +0000 (17:46 -0500)
committerDiego Biurrun <diego@biurrun.de>
Fri, 10 Feb 2012 14:48:52 +0000 (15:48 +0100)
It works as long as ParseContext is the first member of the private struct

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/vc1_parser.c

index 0cc5ea0fa81dfcb9a9b7b4adea61c42c3f85bb82..55f97e1eefad3582a9db95b7859e73afd095214c 100644 (file)
@@ -196,6 +196,6 @@ AVCodecParser ff_vc1_parser = {
     .priv_data_size = sizeof(VC1ParseContext),
     .parser_init    = vc1_parse_init,
     .parser_parse   = vc1_parse,
-    .parser_close   = ff_parse1_close,
+    .parser_close   = ff_parse_close,
     .split          = vc1_split,
 };