[FFmpeg-devel] [PATCH] libavutil: document side effects of macros

2014-07-19 Thread Christophe Gisquet
Hi, I had missed some potential consequences of these macros, so here's something to document these consequences. I'm still a bit unsatisfied, as I would think AV_(ZERO|COPY|SWAP)64 are not that much affected by unaligned addresses or, if they are aligned to 4, compared to 2 AV_*32 operations. -

Re: [FFmpeg-devel] [PATCH] libavutil: document side effects of macros

2014-07-19 Thread Michael Niedermayer
On Sat, Jul 19, 2014 at 09:13:37AM +0200, Christophe Gisquet wrote: > Hi, > > I had missed some potential consequences of these macros, so here's > something to document these consequences. > > I'm still a bit unsatisfied, as I would think AV_(ZERO|COPY|SWAP)64 > are not that much affected by una

Re: [FFmpeg-devel] [PATCH] libavutil: document side effects of macros

2014-07-19 Thread Christophe Gisquet
Hi, 2014-07-19 14:17 GMT+02:00 Michael Niedermayer : > did you intend to attach a patch ? Here you are. -- Christophe From 30f5f833280c0753a000ab05fd60b9d0a9685dcb Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Thu, 10 Jul 2014 20:49:06 +0200 Subject: [PATCH 1/4] libavutil: document s

Re: [FFmpeg-devel] [PATCH] libavutil: document side effects of macros

2014-07-19 Thread Michael Niedermayer
On Sat, Jul 19, 2014 at 02:31:28PM +0200, Christophe Gisquet wrote: > Hi, > > 2014-07-19 14:17 GMT+02:00 Michael Niedermayer : > > did you intend to attach a patch ? > > Here you are. > > -- > Christophe > intreadwrite.h |8 > 1 file changed, 8 insertions(+) > b6d6f16234c4dc17554