avformat/tedcaptionsdec: 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 12:06:21 +0000 (14:06 +0200)
commit7ef252b64afa7195e2eba3651559ac19c1a33c73
tree10918a11771d3283d58e1b77a18dd7373ba69de9
parent480094b2a67bd261ea3034b899d2932273a44c6f
avformat/tedcaptionsdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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