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

Michael Niedermayer git at videolan.org
Wed May 1 03:58:14 EEST 2024


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Apr 22 02:53:51 2024 +0200| [e757726e89ff636e0dc6743f635888639a196e36] | 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>

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

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

diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 0c569eb218..bd3bed9a35 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