summaryrefslogtreecommitdiff
path: root/libavformat/av1dec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-15 18:08:11 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-26 06:36:43 +0100
commit4a4dcde339b8e50f5cf77a6048bf665a2be27133 (patch)
tree379389db0376b874cca571dc5b9b272b26499387 /libavformat/av1dec.c
parent27af88fb7fe6ecbcda60f46f8f22f2ca324eb7ec (diff)
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>
Diffstat (limited to 'libavformat/av1dec.c')
-rw-r--r--libavformat/av1dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c
index 3382613d54..3363003b18 100644
--- a/libavformat/av1dec.c
+++ b/libavformat/av1dec.c
@@ -289,7 +289,7 @@ const FFInputFormat ff_av1_demuxer = {
.p.flags = AVFMT_GENERIC_INDEX | AVFMT_NOTIMESTAMPS,
.p.priv_class = &av1_demuxer_class,
.priv_data_size = sizeof(AV1DemuxContext),
- .flags_internal = FF_FMT_INIT_CLEANUP,
+ .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
.read_probe = annexb_probe,
.read_header = av1_read_header,
.read_packet = annexb_read_packet,
@@ -434,7 +434,7 @@ const FFInputFormat ff_obu_demuxer = {
.p.flags = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK | AVFMT_NOTIMESTAMPS,
.p.priv_class = &av1_demuxer_class,
.priv_data_size = sizeof(AV1DemuxContext),
- .flags_internal = FF_FMT_INIT_CLEANUP,
+ .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
.read_probe = obu_probe,
.read_header = av1_read_header,
.read_packet = obu_read_packet,