avformat/nsvdec: 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 10:53:41 +0000 (12:53 +0200)
commit06f31d01e6e90466fd5de81aa8521de3e2b03fb8
treea36b4d6a8f39f60e65e033f7215ca5b66d2c6e3f
parent2135167c30e34640ed528931017f7bf0b327e6e3
avformat/nsvdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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