avformat/realtextdec: 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:30:51 +0000 (13:30 +0200)
commit5a58e582159da9286b227eb27537c44c9a6ed233
tree557c40d343def4780e3f36166527a69c51353c02
parentb00c9c74af5e52fdc92670bda0de128891f9d7c8
avformat/realtextdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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