avformat/avidec: 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:23:13 +0000 (21:23 +0200)
commit609672a4a3344b511204a490c817c67ba99b3c79
tree671089cabb42149e7b4546bddcc21f91d42f1041
parent822be438491ec9cf724c5b04d6f844ac7b188b8c
avformat/avidec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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