aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-25 21:11:08 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-28 11:10:35 +0200
commit81afd4652b727a91a3b5cbd8d9778a9acc1b1cd8 (patch)
treee5afabcb3130d144b2806637b472730c7e2e7ea4 /libavdevice
parentee8d2ece7b408d0c82908f65b5c38c6c1e5d2def (diff)
downloadffmpeg-81afd4652b727a91a3b5cbd8d9778a9acc1b1cd8.tar.gz
avdevice/fbdev_common: Make declaration proper prototype
Fixes a -Wstrict-prototypes warning from Clang 15. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/fbdev_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/fbdev_common.c b/libavdevice/fbdev_common.c
index 47e7edde5c..2c70abb1f0 100644
--- a/libavdevice/fbdev_common.c
+++ b/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)