avformat/segafilm: 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:53:48 +0000 (13:53 +0200)
commit5542f78d466e13ae3b677114cb44446fb27dfe83
tree2642fa7062246d2745a1dda8537bfb58131af47c
parent9ef7582446bf792e11ff55cc5f7dbaf7a1d0d89c
avformat/segafilm: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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