Re: [libav-devel] [PATCH] snow: refactor code to work around a compiler bug in MSVC.

2012-07-14 Thread Luca Barbato
On 07/15/2012 04:20 AM, Ronald S. Bultje wrote: > Hi, > > On Sun, Jul 8, 2012 at 3:43 PM, Benjamin Larsson > wrote: >> On 07/07/2012 06:06 PM, Ronald S. Bultje wrote: >>> >>> From: "Ronald S. Bultje" >>> >>> This fixes the compiler error "cannot convert from 'BlockNode' to >>> 'int16_t'". >> >>

Re: [libav-devel] [PATCH] snow: refactor code to work around a compiler bug in MSVC.

2012-07-14 Thread Ronald S. Bultje
Hi, On Sun, Jul 8, 2012 at 3:43 PM, Benjamin Larsson wrote: > On 07/07/2012 06:06 PM, Ronald S. Bultje wrote: >> >> From: "Ronald S. Bultje" >> >> This fixes the compiler error "cannot convert from 'BlockNode' to >> 'int16_t'". > > > Ok, but maybe add a comment on why the code has to stay that w

Re: [libav-devel] [PATCH] snow: refactor code to work around a compiler bug in MSVC.

2012-07-08 Thread Benjamin Larsson
On 07/07/2012 06:06 PM, Ronald S. Bultje wrote: From: "Ronald S. Bultje" This fixes the compiler error "cannot convert from 'BlockNode' to 'int16_t'". Ok, but maybe add a comment on why the code has to stay that way. MvH Benjamin Larsson ___ liba

Re: [libav-devel] [PATCH] snow: refactor code to work around a compiler bug in MSVC.

2012-07-08 Thread Ronald S. Bultje
Hi, On Sun, Jul 8, 2012 at 12:46 PM, Måns Rullgård wrote: > "Ronald S. Bultje" writes: > >> From: "Ronald S. Bultje" >> >> This fixes the compiler error "cannot convert from 'BlockNode' to >> 'int16_t'". > > WTF? Yeah that's what I said as well. Still not entirely sure what kind of crack it's

Re: [libav-devel] [PATCH] snow: refactor code to work around a compiler bug in MSVC.

2012-07-08 Thread Måns Rullgård
"Ronald S. Bultje" writes: > From: "Ronald S. Bultje" > > This fixes the compiler error "cannot convert from 'BlockNode' to > 'int16_t'". WTF? -- Måns Rullgård m...@mansr.com ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org

[libav-devel] [PATCH] snow: refactor code to work around a compiler bug in MSVC.

2012-07-07 Thread Ronald S. Bultje
From: "Ronald S. Bultje" This fixes the compiler error "cannot convert from 'BlockNode' to 'int16_t'". --- libavcodec/snowenc.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index f732820..6917050 100644 --- a/libavcodec/