mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-10 12:09:53 +00:00
avcodec/dvdsubdec: Remove unnecessary close function
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
5ee8359441
commit
adf9dd1dec
1 changed files with 0 additions and 7 deletions
|
|
@ -739,12 +739,6 @@ static void dvdsub_flush(AVCodecContext *avctx)
|
|||
ctx->buf_size = 0;
|
||||
}
|
||||
|
||||
static av_cold int dvdsub_close(AVCodecContext *avctx)
|
||||
{
|
||||
dvdsub_flush(avctx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define OFFSET(field) offsetof(DVDSubContext, field)
|
||||
#define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM
|
||||
static const AVOption options[] = {
|
||||
|
|
@ -769,6 +763,5 @@ const AVCodec ff_dvdsub_decoder = {
|
|||
.init = dvdsub_init,
|
||||
.decode = dvdsub_decode,
|
||||
.flush = dvdsub_flush,
|
||||
.close = dvdsub_close,
|
||||
.priv_class = &dvdsub_class,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue