mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
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:
@@ -472,7 +472,7 @@ const FFInputFormat ff_brstm_demuxer = {
|
||||
.p.long_name = NULL_IF_CONFIG_SMALL("BRSTM (Binary Revolution Stream)"),
|
||||
.p.extensions = "brstm",
|
||||
.priv_data_size = sizeof(BRSTMDemuxContext),
|
||||
.flags_internal = FF_FMT_INIT_CLEANUP,
|
||||
.flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
|
||||
.read_probe = probe,
|
||||
.read_header = read_header,
|
||||
.read_packet = read_packet,
|
||||
@@ -485,7 +485,7 @@ const FFInputFormat ff_bfstm_demuxer = {
|
||||
.p.long_name = NULL_IF_CONFIG_SMALL("BFSTM (Binary Cafe Stream)"),
|
||||
.p.extensions = "bfstm,bcstm",
|
||||
.priv_data_size = sizeof(BRSTMDemuxContext),
|
||||
.flags_internal = FF_FMT_INIT_CLEANUP,
|
||||
.flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
|
||||
.read_probe = probe_bfstm,
|
||||
.read_header = read_header,
|
||||
.read_packet = read_packet,
|
||||
|
||||
Reference in New Issue
Block a user