Re: [libav-devel] [PATCH 09/15] swscale: avoid pointless use of compound literals

2012-10-19 Thread Kostya Shishkov
On Thu, Oct 18, 2012 at 03:46:19PM +0200, Luca Barbato wrote: > On 10/15/2012 05:11 AM, Mans Rullgard wrote: > > Some compilers (e.g. old gcc) have trouble with these. > > > > Signed-off-by: Mans Rullgard > > --- > > libswscale/swscale_unscaled.c | 17 + > > 1 file changed, 9 ins

Re: [libav-devel] [PATCH 09/15] swscale: avoid pointless use of compound literals

2012-10-18 Thread Luca Barbato
On 10/15/2012 05:11 AM, Mans Rullgard wrote: > Some compilers (e.g. old gcc) have trouble with these. > > Signed-off-by: Mans Rullgard > --- > libswscale/swscale_unscaled.c | 17 + > 1 file changed, 9 insertions(+), 8 deletions(-) > It makes the code a bit easier to follow, ple

Re: [libav-devel] [PATCH 09/15] swscale: avoid pointless use of compound literals

2012-10-15 Thread Luca Barbato
On 10/15/2012 05:53 AM, Ronald S. Bultje wrote: > On Sun, Oct 14, 2012 at 8:11 PM, Mans Rullgard wrote: >> Some compilers (e.g. old gcc) have trouble with these. >> >> Signed-off-by: Mans Rullgard >> --- >> libswscale/swscale_unscaled.c | 17 + >> 1 file changed, 9 insertions(+),

Re: [libav-devel] [PATCH 09/15] swscale: avoid pointless use of compound literals

2012-10-14 Thread Ronald S. Bultje
On Sun, Oct 14, 2012 at 8:11 PM, Mans Rullgard wrote: > Some compilers (e.g. old gcc) have trouble with these. > > Signed-off-by: Mans Rullgard > --- > libswscale/swscale_unscaled.c | 17 + > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git a/libswscale/swscale_unsc

[libav-devel] [PATCH 09/15] swscale: avoid pointless use of compound literals

2012-10-14 Thread Mans Rullgard
Some compilers (e.g. old gcc) have trouble with these. Signed-off-by: Mans Rullgard --- libswscale/swscale_unscaled.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 70eff72..5efc647 100644