avformat/vplayerdec: 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:24:01 +0000 (14:24 +0200)
commit04aa4065d7050dbad553384f4699d0cf99b89b52
treec4ea0ea9cf17115429a79e86b80362ea7d071834
parent21e40af378106ce4f5a7c9b2d177913bd5c0f7b2
avformat/vplayerdec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

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