Fixes compilation with GCC 11 when configured with --disable-optimizations Signed-off-by: James Almer <jamr...@gmail.com> --- libavfilter/vsrc_testsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index 0ced726f5e..08686938db 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -718,8 +718,8 @@ static uint32_t color_gradient(unsigned index) case 3: return 0x0000FF + (sd << 8); case 4: return 0x0000FF + (si << 16); case 5: return 0xFF0000 + (sd << 0); + default: av_assert0(0); return 0; } - av_assert0(0); } static void draw_text(TestSourceContext *s, AVFrame *frame, FFDrawColor *color, -- 2.32.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".