avformat/pjsdec: 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:24:32 +0000 (13:24 +0200)
commitae123057a30143d8fb230bdd8eab7a9ae7d5733a
tree32fff3aadef5e8a263dc5a0e78e6f0be99fa9e7d
parentd2574262a538748a24ca2debecec33d8fe31df60
avformat/pjsdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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