diff mbox series

[FFmpeg-devel,3/3] avcodec/dvdsub_parser: Remove empty init function

Message ID 20200629173309.4871-3-andreas.rheinhardt@gmail.com
State Accepted
Commit 0d2ab226c84f083d12b2d814a7e8b1072a6ae7aa
Headers show
Series [FFmpeg-devel,1/3] fate: Update fate refs after cca982ee018aad54214e94f2a0a5921c8bbf1328
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Andreas Rheinhardt June 29, 2020, 5:33 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/dvdsub_parser.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/dvdsub_parser.c b/libavcodec/dvdsub_parser.c
index 698ccb6987..054af69db9 100644
--- a/libavcodec/dvdsub_parser.c
+++ b/libavcodec/dvdsub_parser.c
@@ -32,11 +32,6 @@  typedef struct DVDSubParseContext {
     int packet_index;
 } DVDSubParseContext;
 
-static av_cold int dvdsub_parse_init(AVCodecParserContext *s)
-{
-    return 0;
-}
-
 static int dvdsub_parse(AVCodecParserContext *s,
                         AVCodecContext *avctx,
                         const uint8_t **poutbuf, int *poutbuf_size,
@@ -92,7 +87,6 @@  static av_cold void dvdsub_parse_close(AVCodecParserContext *s)
 AVCodecParser ff_dvdsub_parser = {
     .codec_ids      = { AV_CODEC_ID_DVD_SUBTITLE },
     .priv_data_size = sizeof(DVDSubParseContext),
-    .parser_init    = dvdsub_parse_init,
     .parser_parse   = dvdsub_parse,
     .parser_close   = dvdsub_parse_close,
 };