[FFmpeg-cvslog] avfilter/avfiltergraph: return value of ff_request_frame() is unused

Michael Niedermayer git at videolan.org
Wed May 22 23:15:16 EEST 2024


ffmpeg | branch: release/7.0 | Michael Niedermayer <michael at niedermayer.cc> | Mon Apr 22 02:53:51 2024 +0200| [9a4199c71b6905aaad5d5b8980e692be6f08e411] | committer: Michael Niedermayer

avfilter/avfiltergraph: return value of ff_request_frame() is unused

Fixes: CID1397741 Unchecked return value

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit e757726e89ff636e0dc6743f635888639a196e36)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a4199c71b6905aaad5d5b8980e692be6f08e411
---

 libavfilter/avfiltergraph.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 12ff7d6ffb..8e091d95e0 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -1410,7 +1410,7 @@ int avfilter_graph_request_oldest(AVFilterGraph *graph)
         if (r == AVERROR(EAGAIN) &&
             !oldest->frame_wanted_out && !oldesti->frame_blocked_in &&
             !oldesti->status_in)
-            ff_request_frame(oldest);
+            (void)ff_request_frame(oldest);
         else if (r < 0)
             return r;
     }



More information about the ffmpeg-cvslog mailing list