summaryrefslogtreecommitdiff
path: root/libavcodec/tak_parser.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-06-04 16:41:05 +0000
committerPaul B Mahol <onemda@gmail.com>2013-07-10 12:07:53 +0000
commit8491f40500535bf1ab0aa1997391fb23d7b695bc (patch)
tree0d2c81541ee524200f40d2b9049eb01f61eeb174 /libavcodec/tak_parser.c
parent410192e369588c6d025aa7feb278b9ea9a4f8868 (diff)
tak: use crc table from lavu
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/tak_parser.c')
-rw-r--r--libavcodec/tak_parser.c7
1 files changed, 0 insertions, 7 deletions
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,
};