Commit 250f0f1624 for ffmpeg

commit 250f0f1624bd2f98409e778e5c79cb83b73ea698
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Sat Aug 15 03:43:11 2026 +0200

    fftools/ffmpeg_filter: check sub2video_frame() return value when flushing the queue

diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 54ba036d7c..c375934331 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -2309,7 +2309,7 @@ static int configure_filtergraph(FilterGraph *fg, FilterGraphThread *fgt)
         AVFrame *tmp;
         while (av_fifo_read(ifp->frame_queue, &tmp, 1) >= 0) {
             if (ifp->type_src == AVMEDIA_TYPE_SUBTITLE) {
-                sub2video_frame(&ifp->ifilter, tmp, !fgt->graph);
+                ret = sub2video_frame(&ifp->ifilter, tmp, !fgt->graph);
             } else {
                 if (ifp->type_src == AVMEDIA_TYPE_VIDEO) {
                     if (ifp->displaymatrix_applied)