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

2019-03-20 Thread Carl Eugen Hoyos
2019-02-14 22:44 GMT+01:00, Carl Eugen Hoyos : > New patch with AV_WN64() attached. Patch applied. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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

2019-02-14 Thread Carl Eugen Hoyos
2019-02-14 22:08 GMT+01:00, James Almer : > On 2/14/2019 5:59 PM, Carl Eugen Hoyos wrote: >> 2019-02-12 12:58 GMT+01:00, Carl Eugen Hoyos : >>> Hi! >>> >>> The output of truehd_core is currently undeterministic, the last bytes >>> are uninitialized, valgrind protests if less than 8 bytes are >>>

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

2019-02-14 Thread James Almer
On 2/14/2019 5:59 PM, Carl Eugen Hoyos wrote: > 2019-02-12 12:58 GMT+01:00, Carl Eugen Hoyos : >> 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

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

2019-02-14 Thread Carl Eugen Hoyos
2019-02-12 12:58 GMT+01:00, Carl Eugen Hoyos : > 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

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

2019-02-12 Thread Carl Eugen Hoyos
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 From