[FFmpeg-devel] [RFC] Type descriptors
Michael Niedermayer
michael at niedermayer.cc
Sat Jan 2 00:12:11 EET 2021
On Thu, Dec 31, 2020 at 08:54:34PM +0000, Derek Buitenhuis wrote:
> On 31/12/2020 20:15, Jim DeLaHunt wrote:
> > One of the places where FFmpeg's inconsistent encoding caused me a
> > problem was when I was operating on a Quicktime video. FFmpeg (or
> > perhaps FFprobe) printed a 4-byte Quicktime tag literally to stdout. The
> > tag's byte sequence was not valid UTF-8. It messed up the output. That
> > tag, being arbitrary binary data, should have been escaped or printed in
> > hex or otherwise represented in valid UTF-8.
>
> We really should simply never be printing 'strings' from files without
> any soft of validation - I consider this a bug. It's the same reason
+1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No great genius has ever existed without some touch of madness. -- Aristotle
-------------- 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/20210101/9e4ad314/attachment.sig>
More information about the ffmpeg-devel
mailing list