From 8491f40500535bf1ab0aa1997391fb23d7b695bc Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda@gmail.com>
Date: Tue, 4 Jun 2013 16:41:05 +0000
Subject: tak: use crc table from lavu

Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 libavcodec/tak_parser.c | 7 -------
 1 file changed, 7 deletions(-)

(limited to 'libavcodec/tak_parser.c')

diff --git a/libavcodec/tak_parser.c b/libavcodec/tak_parser.c
index 9136192579..5d8460c90a 100644
--- a/libavcodec/tak_parser.c
+++ b/libavcodec/tak_parser.c
@@ -33,12 +33,6 @@ typedef struct TAKParseContext {
     int           index;
 } TAKParseContext;
 
-static av_cold int tak_init(AVCodecParserContext *s)
-{
-    ff_tak_init_crc();
-    return 0;
-}
-
 static int tak_parse(AVCodecParserContext *s, AVCodecContext *avctx,
                      const uint8_t **poutbuf, int *poutbuf_size,
                      const uint8_t *buf, int buf_size)
@@ -123,7 +117,6 @@ found:
 AVCodecParser ff_tak_parser = {
     .codec_ids      = { AV_CODEC_ID_TAK },
     .priv_data_size = sizeof(TAKParseContext),
-    .parser_init    = tak_init,
     .parser_parse   = tak_parse,
     .parser_close   = ff_parse_close,
 };
-- 
cgit v1.2.1