[FFmpeg-cvslog] avfilter/avfilter: Suppress warning for variable only used in av_assert1

Andreas Rheinhardt git at videolan.org
Sun Feb 25 14:53:00 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Feb 25 00:47:07 2024 +0100| [b4b8b9ad5cf8506f4c5abdc5c4cd5bb4f7285cdd] | committer: Andreas Rheinhardt

avfilter/avfilter: Suppress warning for variable only used in av_assert1

Forgotten in e7f9edb4698e94135aab24c302226734713548f0.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

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

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 3aa20085ed..daa7c3672a 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -1563,7 +1563,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
 
 void ff_inlink_request_frame(AVFilterLink *link)
 {
-    FilterLinkInternal *li = ff_link_internal(link);
+    av_unused FilterLinkInternal *li = ff_link_internal(link);
     av_assert1(!li->status_in);
     av_assert1(!li->status_out);
     link->frame_wanted_out = 1;



More information about the ffmpeg-cvslog mailing list