avformat/av1dec: 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 19:40:13 +0000 (21:40 +0200)
commit1500b7dfa569aae96d4de18e11ee0f6e55f4d72d
tree21fd5f1d1297901fdbf7c730e6b647aa439d46bd
parentef7eaa4529b2c536bf0682f05508b98114795ac1
avformat/av1dec: Simplify cleanup after read_header failure

by setting the FF_FMT_INIT_CLEANUP flag.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavformat/av1dec.c