You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/vsrc_testsrc: add a return at the end of non-void functions
Fixes compilation with GCC 11 when configured with --disable-optimizations Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -718,8 +718,8 @@ static uint32_t color_gradient(unsigned index)
|
|||||||
case 3: return 0x0000FF + (sd << 8);
|
case 3: return 0x0000FF + (sd << 8);
|
||||||
case 4: return 0x0000FF + (si << 16);
|
case 4: return 0x0000FF + (si << 16);
|
||||||
case 5: return 0xFF0000 + (sd << 0);
|
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,
|
static void draw_text(TestSourceContext *s, AVFrame *frame, FFDrawColor *color,
|
||||||
|
Reference in New Issue
Block a user