[FFmpeg-devel] [PATCH]lavc/truehd_core: Initialize the last bytes of the output buffer

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Feb 12 13:58:52 EET 2019


Hi!

The output of truehd_core is currently undeterministic, the last bytes
are uninitialized, valgrind protests if less than 8 bytes are
initialized.
I believe attached patch is simpler than calculating the necessary
write size at the bottom of the function.

Please comment, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavc-truehd_core-Initialize-the-last-bytes-of-the-ou.patch
Type: text/x-patch
Size: 959 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190212/740d6789/attachment.bin>


More information about the ffmpeg-devel mailing list