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
1 changed files with 1 additions and 1 deletions

View File

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