avformat/hls: Simplify cleanup after read_header failure
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sat, 21 Mar 2020 17:31:06 +0000 (18:31 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Wed, 7 Jul 2021 19:51:40 +0000 (21:51 +0200)
commit0a7e9111086e2321aa2b965f8cc7118054733c73
tree6e22a42759b7109f3c0748aed8bc000fb578319d
parentc3ba8f0d7e2932174239d31216f913febc20dc0d
avformat/hls: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavformat/hls.c