avdevice/fbdev_common: Make declaration proper prototype

Fixes a -Wstrict-prototypes warning from Clang 15.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/390/head
Andreas Rheinhardt 1 year ago
parent ee8d2ece7b
commit 81afd4652b
  1. 2
      libavdevice/fbdev_common.c

@ -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)

Loading…
Cancel
Save