avformat/jacosubdec: 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 20:14:50 +0000 (22:14 +0200)
commit7556490b090b4bfb4f5c98c6a75a376c1c632dc6
tree808a4a6b8fed0e298f63ecb3bdf99d35c6082e40
parent7a1037b6bd4adf3fd3f382a0b2306048b2050a05
avformat/jacosubdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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