avformat/ape: 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:26:43 +0000 (21:26 +0200)
commit58da6b18a3d2f11b0f7a1bb80beda19cdf267431
treea185d4f3bae5a94e58e14bce54ca320de194e66d
parent609672a4a3344b511204a490c817c67ba99b3c79
avformat/ape: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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