diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-15 15:55:42 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-07 20:22:22 +0200 |
commit | 0f6b34bfeca799ffdeefa10581563a329f1915ef (patch) | |
tree | bf625400bda2adda78828d68b1f381d36f753a33 /libavformat/hlsplaylist.c | |
parent | 758e2da28939c156b18c11c3993ea068da3ea869 (diff) | |
download | ffmpeg-0f6b34bfeca799ffdeefa10581563a329f1915ef.tar.gz |
avformat: Add internal flags for AV(In|Out)putFormat
Both AVInputFormat and AVOutputFormat currently lack an equivalent to
AVCodec's caps_internal. E.g. if reading a header fails, each demuxer
is currently required to clean up manually, which often means to just
call the demuxer's read_close function. This could (and will) be done
generically via an equivalent of FF_CODEC_CAP_INIT_CLEANUP.
Because of the unholy ABI-relationship between libavdevice and
libavformat adding such a flag is only possible when the ABI is open
(despite the flag not being part of the public API), such as now.
Therefore such a flag is also added to AVOutputFormat, despite there
being no immediate use for it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/hlsplaylist.c')
0 files changed, 0 insertions, 0 deletions