mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-22 23:17:48 +08: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user