avformat/internal: Move FF_FMT_INIT_CLEANUP to demux.h
and rename it to FF_INFMT_INIT_CLEANUP. This flag is demuxer-only, so this is the more appropriate place for it. This does not preclude adding internal flags common to both demuxer and muxer in the future. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -1055,7 +1055,7 @@ const FFInputFormat ff_vobsub_demuxer = {
|
||||
.p.extensions = "idx",
|
||||
.p.priv_class = &vobsub_demuxer_class,
|
||||
.priv_data_size = sizeof(VobSubDemuxContext),
|
||||
.flags_internal = FF_FMT_INIT_CLEANUP,
|
||||
.flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
|
||||
.read_probe = vobsub_probe,
|
||||
.read_header = vobsub_read_header,
|
||||
.read_packet = vobsub_read_packet,
|
||||
|
||||
Reference in New Issue
Block a user