[FFmpeg-devel] [PATCH] avformat/subtitles: Deduplicate subtitles' read_(packet|seek|close)

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Jul 18 06:10:52 EEST 2021


Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavformat/assdec.c        | 27 +++------------------------
>  libavformat/jacosubdec.c    | 29 ++++-------------------------
>  libavformat/lrcdec.c        | 27 +++------------------------
>  libavformat/mccdec.c        | 27 +++------------------------
>  libavformat/mpl2dec.c       | 27 +++------------------------
>  libavformat/mpsubdec.c      | 27 +++------------------------
>  libavformat/pjsdec.c        | 27 +++------------------------
>  libavformat/realtextdec.c   | 27 +++------------------------
>  libavformat/samidec.c       | 27 +++------------------------
>  libavformat/sccdec.c        | 27 +++------------------------
>  libavformat/srtdec.c        | 27 +++------------------------
>  libavformat/stldec.c        | 26 +++-----------------------
>  libavformat/subtitles.c     | 21 +++++++++++++++++++++
>  libavformat/subtitles.h     |  7 +++++++
>  libavformat/subviewer1dec.c | 27 +++------------------------
>  libavformat/subviewerdec.c  | 27 +++------------------------
>  libavformat/vplayerdec.c    | 27 +++------------------------
>  17 files changed, 74 insertions(+), 360 deletions(-)
> 
Will apply.

- Andreas


More information about the ffmpeg-devel mailing list