[FFmpeg-devel] [PATCH 1/5] avformat/wtvdec: Don't truncate GUIDs

Peter Ross pross at xvid.org
Wed Sep 13 00:28:21 EEST 2023


On Tue, Sep 12, 2023 at 02:27:17PM +0200, Andreas Rheinhardt wrote:
> Each of the 16 bytes of a GUID is written as a two-character
> hex value and three hyphens, leading to a length of 35.
> GCC 13 emits a -Wformat-truncation= warning because of this.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> Is there actually a reason this is using a different format than
> the one used by lavu/uuid.h?

i don't think so. wtvdec predates lavu/uuid.h.

patchset looks good.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230913/b5378a85/attachment.sig>


More information about the ffmpeg-devel mailing list