Re: [FFmpeg-devel] [PATCH 1/2] avutil/md5: fix misaligned reads

2017-03-03 Thread James Almer
On 3/3/2017 12:34 PM, Michael Niedermayer wrote: > On Fri, Mar 03, 2017 at 01:54:19AM -0300, James Almer wrote: >> This makes ubsan happy and also considerably increases performance on >> big endian systems. > > please include the difference in speed in the commit message if you > tested (it sound

Re: [FFmpeg-devel] [PATCH 1/2] avutil/md5: fix misaligned reads

2017-03-03 Thread Michael Niedermayer
On Fri, Mar 03, 2017 at 01:54:19AM -0300, James Almer wrote: > This makes ubsan happy and also considerably increases performance on > big endian systems. please include the difference in speed in the commit message if you tested (it sounds like you did) should be fine otherwise thx [...] -- M

[FFmpeg-devel] [PATCH 1/2] avutil/md5: fix misaligned reads

2017-03-02 Thread James Almer
This makes ubsan happy and also considerably increases performance on big endian systems. Signed-off-by: James Almer --- libavutil/md5.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/libavutil/md5.c b/libavutil/md5.c index 8c36aa80c4..d3698dcb1d 100644 ---