Fixes compilation with GCC 11 when configured with "--disable-optimizations --toolchain=gcc-tsan"
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -588,6 +588,7 @@ int avfilter_pad_count(const AVFilterPad *pads) · 587 unmodified lines | ||
| 588 | 588 | } |
| 589 | 589 | |
| 590 | 590 | av_assert0(!"AVFilterPad list not from a filter"); |
| 591 | + return AVERROR_BUG; | |
| 591 | 592 | } |
| 592 | 593 | #endif |
| 593 | 594 | |