Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-10-09 Thread aviad rozenhek
On Thu, Aug 16, 2012 at 12:18 PM, Måns Rullgård m...@mansr.com wrote: Janne Grunau janne-li...@jannau.net writes: On 2012-08-15 10:33:26 +0100, Måns Rullgård wrote: Janne Grunau janne-li...@jannau.net writes: The real question here is why the hell those error codes are using MKTAG in

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-10-09 Thread Måns Rullgård
aviad rozenhek avia...@gmail.com writes: On Thu, Aug 16, 2012 at 12:18 PM, Måns Rullgård m...@mansr.com wrote: Janne Grunau janne-li...@jannau.net writes: On 2012-08-15 10:33:26 +0100, Måns Rullgård wrote: Janne Grunau janne-li...@jannau.net writes: The real question here is why the

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-10-09 Thread Luca Barbato
On 10/09/2012 05:18 PM, Måns Rullgård wrote: That would have been my choice from the start. Fine by me shall we replace all the values for release 9 ? lu ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-16 Thread Janne Grunau
On 2012-08-15 10:33:26 +0100, Måns Rullgård wrote: Janne Grunau janne-li...@jannau.net writes: On 2012-08-15 09:28:46 +0100, Måns Rullgård wrote: Or how about we revert 6b34fbb and fix the one case where that matters differently? Depends a little of that the user of MKTAG is

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-16 Thread Måns Rullgård
Janne Grunau janne-li...@jannau.net writes: On 2012-08-15 10:33:26 +0100, Måns Rullgård wrote: Janne Grunau janne-li...@jannau.net writes: The real question here is why the hell those error codes are using MKTAG in the first place? I guess someone wanted to have 'readable' error codes

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-15 Thread Måns Rullgård
aviad rozenhek avia...@gmail.com writes: On Mon, Aug 13, 2012 at 12:33 PM, aviad rozenhek avia...@gmail.com wrote: unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using any if the specialized AVERROR_XXX macros, like

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-15 Thread Diego Biurrun
On Wed, Aug 15, 2012 at 09:28:46AM +0100, Måns Rullgård wrote: aviad rozenhek avia...@gmail.com writes: On Mon, Aug 13, 2012 at 12:33 PM, aviad rozenhek avia...@gmail.com wrote: unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-15 Thread Janne Grunau
On 2012-08-15 09:28:46 +0100, Måns Rullgård wrote: aviad rozenhek avia...@gmail.com writes: On Mon, Aug 13, 2012 at 12:33 PM, aviad rozenhek avia...@gmail.com wrote: unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using any if

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-15 Thread Måns Rullgård
Janne Grunau janne-li...@jannau.net writes: On 2012-08-15 09:28:46 +0100, Måns Rullgård wrote: aviad rozenhek avia...@gmail.com writes: On Mon, Aug 13, 2012 at 12:33 PM, aviad rozenhek avia...@gmail.com wrote: unary minus operator applied to unsigned type, result still unsigned I

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-14 Thread aviad rozenhek
On Mon, Aug 13, 2012 at 12:33 PM, aviad rozenhek avia...@gmail.com wrote: unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using any if the specialized AVERROR_XXX macros, like AVERROR_BSF_NOT_FOUND or AVERROR_DECODER_NOT_FOUND. the

[libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread aviad rozenhek
unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using any if the specialized AVERROR_XXX macros, like AVERROR_BSF_NOT_FOUND or AVERROR_DECODER_NOT_FOUND. the reason is because #define AVERROR_BSF_NOT_FOUND (-MKTAG(0xF8,'B','S','F'))

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Måns Rullgård
aviad rozenhek avia...@gmail.com writes: unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using any if the specialized AVERROR_XXX macros, like AVERROR_BSF_NOT_FOUND or AVERROR_DECODER_NOT_FOUND. the reason is because #define

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Måns Rullgård
Måns Rullgård m...@mansr.com writes: aviad rozenhek avia...@gmail.com writes: unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using any if the specialized AVERROR_XXX macros, like AVERROR_BSF_NOT_FOUND or AVERROR_DECODER_NOT_FOUND.

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Nicolas George
Le septidi 27 thermidor, an CCXX, aviad rozenhek a écrit : I get this compiler warning when using any if the specialized AVERROR_XXX macros, like AVERROR_BSF_NOT_FOUND or AVERROR_DECODER_NOT_FOUND. For reference, this was fixed four months ago in ffmpeg:

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Måns Rullgård
Nicolas George nicolas.geo...@normalesup.org writes: Le septidi 27 thermidor, an CCXX, aviad rozenhek a écrit : I get this compiler warning when using any if the specialized AVERROR_XXX macros, like AVERROR_BSF_NOT_FOUND or AVERROR_DECODER_NOT_FOUND. For reference, this was fixed four months

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread aviad rozenhek
On Mon, Aug 13, 2012 at 1:18 PM, Måns Rullgård m...@mansr.com wrote: aviad rozenhek avia...@gmail.com writes: unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using any if the specialized AVERROR_XXX macros, like

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Måns Rullgård
aviad rozenhek avia...@gmail.com writes: On Mon, Aug 13, 2012 at 1:18 PM, Måns Rullgård m...@mansr.com wrote: aviad rozenhek avia...@gmail.com writes: unary minus operator applied to unsigned type, result still unsigned I get this compiler warning when using any if the specialized

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread aviad rozenhek
On Mon, Aug 13, 2012 at 5:52 PM, Måns Rullgård m...@mansr.com wrote: aviad rozenhek avia...@gmail.com writes: On Mon, Aug 13, 2012 at 1:18 PM, Måns Rullgård m...@mansr.com wrote: aviad rozenhek avia...@gmail.com writes: unary minus operator applied to unsigned type, result still

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Diego Biurrun
On Mon, Aug 13, 2012 at 04:18:14PM +0200, Nicolas George wrote: Le septidi 27 thermidor, an CCXX, Måns Rullgård a écrit : That is not a fix. Yes it is, unlike the thing you posted at 11:18:48 +0100. I could take the time to explain why your answer is completely wrong, but considering the

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Nicolas George
Le septidi 27 thermidor, an CCXX, Diego Biurrun a écrit : Come on, please, let's not be overly sensitive here. The expression That is not a fix hardly counts as an insult or anything remotely similar. Not an insult, no... Subtext: You commit stupid casts just to silence compiler warnings.

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread aviad rozenhek
On Mon, Aug 13, 2012 at 10:04 PM, Nicolas George nicolas.geo...@normalesup.org wrote: Le septidi 27 thermidor, an CCXX, Diego Biurrun a écrit : Come on, please, let's not be overly sensitive here. The expression That is not a fix hardly counts as an insult or anything remotely similar.

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Diego Biurrun
On Mon, Aug 13, 2012 at 09:04:37PM +0200, Nicolas George wrote: Le septidi 27 thermidor, an CCXX, Diego Biurrun a écrit : Come on, please, let's not be overly sensitive here. The expression That is not a fix hardly counts as an insult or anything remotely similar. Not an insult, no...

Re: [libav-devel] unary minus operator applied to unsigned type, result still unsigned

2012-08-13 Thread Ronald S. Bultje
Hi, On Mon, Aug 13, 2012 at 2:15 PM, aviad rozenhek avia...@gmail.com wrote: On Mon, Aug 13, 2012 at 10:04 PM, Nicolas George nicolas.geo...@normalesup.org wrote: Le septidi 27 thermidor, an CCXX, Diego Biurrun a écrit : Come on, please, let's not be overly sensitive here. The expression