fftools/ffmpeg_filter: Fix leak on error
commit62929f40ee7ce1eb2c4b178b98557b7c73f8bc47
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 17 May 2024 18:46:36 +0000 (17 20:46 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Mon, 20 May 2024 12:15:23 +0000 (20 14:15 +0200)
treef5847fd286bf2666628f0c7857657a084baf505e
parentb50c5d02900363c17560cf79e2af0ca3073ee81a
fftools/ffmpeg_filter: Fix leak on error

Do this by attaching the FilterGraph directly to more permanent
storage from which it will be automatically freed.
Fixes Coverity issue #1596533.

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