[FFmpeg-cvslog] avdevice/fbdev_common: Make declaration proper prototype
Andreas Rheinhardt
git at videolan.org
Thu Sep 28 12:18:36 EEST 2023
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Sep 25 21:11:08 2023 +0200| [81afd4652b727a91a3b5cbd8d9778a9acc1b1cd8] | committer: Andreas Rheinhardt
avdevice/fbdev_common: Make declaration proper prototype
Fixes a -Wstrict-prototypes warning from Clang 15.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=81afd4652b727a91a3b5cbd8d9778a9acc1b1cd8
---
libavdevice/fbdev_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the ffmpeg-cvslog
mailing list