avfilter/avfilter: add a return at the end of a non-void function

Fixes compilation with GCC 11 when configured with "--disable-optimizations --toolchain=gcc-tsan"

Signed-off-by: James Almer <jamrial@gmail.com>
pull/365/head
James Almer 3 years ago
parent 88b3e31562
commit 61b38f7aef
  1. 1
      libavfilter/avfilter.c

@ -588,6 +588,7 @@ int avfilter_pad_count(const AVFilterPad *pads)
}
av_assert0(!"AVFilterPad list not from a filter");
return AVERROR_BUG;
}
#endif

Loading…
Cancel
Save