avformat: remove deprecated FF_API_AVFORMAT_IO_CLOSE

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2024-01-20 10:48:39 -03:00
parent aaefe47913
commit d6799ee0e4
10 changed files with 2 additions and 65 deletions

View File

@@ -160,11 +160,6 @@ static int segment_mux_init(AVFormatContext *s)
oc->max_delay = s->max_delay;
av_dict_copy(&oc->metadata, s->metadata, 0);
oc->opaque = s->opaque;
#if FF_API_AVFORMAT_IO_CLOSE
FF_DISABLE_DEPRECATION_WARNINGS
oc->io_close = s->io_close;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
oc->io_close2 = s->io_close2;
oc->io_open = s->io_open;
oc->flags = s->flags;