[FFmpeg-devel] [PATCH] avfilter/avfilter: Suppress warning for variable only used in av_assert1
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sun Feb 25 14:40:04 EET 2024
Andreas Rheinhardt:
> Forgotten in e7f9edb4698e94135aab24c302226734713548f0.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> 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;
Will apply.
- Andreas
More information about the ffmpeg-devel
mailing list