1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avdevice/fbdev_common: Make declaration proper prototype

Fixes a -Wstrict-prototypes warning from Clang 15.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-09-25 21:11:08 +02:00
parent ee8d2ece7b
commit 81afd4652b

View File

@ -62,7 +62,7 @@ enum AVPixelFormat ff_get_pixfmt_from_fb_varinfo(struct fb_var_screeninfo *varin
return AV_PIX_FMT_NONE;
}
const char* ff_fbdev_default_device()
const char *ff_fbdev_default_device(void)
{
const char *dev = getenv("FRAMEBUFFER");
if (!dev)