avformat/subviewerdec: 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:00:37 +0000 (14:00 +0200)
commit43ac74a7d88b6659b332bceec85c7761ebb4e9fc
tree5e89897d5c10126bd0771eaa12b6819dee3ca9ae
parentc6686388aab8cba1689b7ae743a6fc154414797c
avformat/subviewerdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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