aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/assdec.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/assdec.c
parent27af88fb7fe6ecbcda60f46f8f22f2ca324eb7ec (diff)
downloadffmpeg-4a4dcde339b8e50f5cf77a6048bf665a2be27133.tar.gz
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/assdec.c')
-rw-r--r--libavformat/assdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c
index a689a59689..3a8353f4d3 100644
--- a/libavformat/assdec.c
+++ b/libavformat/assdec.c
@@ -164,7 +164,7 @@ end:
const FFInputFormat ff_ass_demuxer = {
.p.name = "ass",
.p.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
- .flags_internal = FF_FMT_INIT_CLEANUP,
+ .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
.priv_data_size = sizeof(ASSContext),
.read_probe = ass_probe,
.read_header = ass_read_header,