avformat/srtdec: 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>
Thu, 8 Jul 2021 11:57:42 +0000 (13:57 +0200)
commit511bd6af47c8dcc4139065e203de10eb5d40f39c
tree2ec783c2c0809146a19c1bbbca441a27901619d6
parent1ebda24904d786a1d57093da3d6a1eec5ea939a4
avformat/srtdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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