mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
ee8d2ece7b
commit
81afd4652b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue