[FFmpeg-devel] [PATCH V3 1/5] libavdevice/v4l2.c: fix build warning for [-Wformat-truncation=]

Nicolas George george at nsup.org
Sun Feb 28 13:45:19 EET 2021


Guo, Yejun (12021-02-27):
> 'man readdir' on my system shows that it is d_name[256], see below.

man tells you what your particular system does right now, assuming the
man page is up-to-date. It does not tell you if your system will change
tomorrow, nor what other system do.

> agree, and maybe we can just let this build warning there.

In the long run, better disable it. We have check_disable_warning in
configure, so it is probably a one line patch.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210228/8fff0e7c/attachment.sig>


More information about the ffmpeg-devel mailing list