avformat/sccdec: 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:50:28 +0000 (13:50 +0200)
commit9ef7582446bf792e11ff55cc5f7dbaf7a1d0d89c
treeb26843b090c38e8437adeb859045897cd8bf4335
parent7ae7d936532924108872f1f6d90d9104603616be
avformat/sccdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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