avfilter/avf_showspectrum: Fix allocation check
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Mon, 23 Feb 2026 21:59:45 +0000 (22:59 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 Jun 2026 03:59:45 +0000 (05:59 +0200)
commit269201a990ed7d3402d6f46713369e65dcfac1fd
tree79cd0f0575fded05cbeca55f0eeb5813fcb88bf1
parent5c56b48dbe49b39ca62ee0ce53a0286b90784ca1
avfilter/avf_showspectrum: Fix allocation check

If s->stop is set, the return value would be overwritten
before being checked. This bug was introduced in the switch
to AV_TX in 014ace8f98cc4a1a88e7a6d5890cef628eb9e8b0.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 0992c19c3046973047b658c0e105dede404fb0c5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/avf_showspectrum.c