avformat/vapoursynth: 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:09:15 +0000 (14:09 +0200)
commitc1141aa71a0381c2ec9667ee146e67fa690d04b4
tree65ccc678863e2d6bc4b703eb7bfa5463a540342a
parent24e4127cb4e0ded3052907540b944b0df564a6ba
avformat/vapoursynth: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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