aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-08-24 09:36:21 -0300
committerJames Almer <jamrial@gmail.com>2021-08-24 09:36:21 -0300
commit61b38f7aef8d2f34135eb6a1e1e637d4fef667d2 (patch)
tree6456160b7b42b80f4e175248c4bf26a6a254417d
parent88b3e3156231d9f45c816c26980a2048619e44c4 (diff)
downloadffmpeg-61b38f7aef8d2f34135eb6a1e1e637d4fef667d2.tar.gz
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>
-rw-r--r--libavfilter/avfilter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 4b6a3d1e8f..a04f8ed62f 100644
--- a/libavfilter/avfilter.c
+++ b/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