Message ID | 20210824123641.4002-1-jamrial@gmail.com |
---|---|
State | Accepted |
Commit | 61b38f7aef8d2f34135eb6a1e1e637d4fef667d2 |
Headers | show |
Series | [FFmpeg-devel] avfilter/avfilter: add a return at the end of a non-void function | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
James Almer (12021-08-24): > Fixes compilation with GCC 11 when configured with "--disable-optimizations --toolchain=gcc-tsan" > > Signed-off-by: James Almer <jamrial@gmail.com> > --- > libavfilter/avfilter.c | 1 + > 1 file changed, 1 insertion(+) Ok, thanks. Regards,
On 8/24/2021 10:12 AM, Nicolas George wrote: > James Almer (12021-08-24): >> Fixes compilation with GCC 11 when configured with "--disable-optimizations --toolchain=gcc-tsan" >> >> Signed-off-by: James Almer <jamrial@gmail.com> >> --- >> libavfilter/avfilter.c | 1 + >> 1 file changed, 1 insertion(+) > > Ok, thanks. > > Regards, Applied (Andreas also OKd it on IRC).
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
Fixes compilation with GCC 11 when configured with "--disable-optimizations --toolchain=gcc-tsan" Signed-off-by: James Almer <jamrial@gmail.com> --- libavfilter/avfilter.c | 1 + 1 file changed, 1 insertion(+)