Re: [libav-devel] [PATCH] Change all uses of restrict to use av_restrict instead.

2012-06-16 Thread Luca Barbato
On 06/16/2012 03:02 AM, Ronald S. Bultje wrote: I wish to support a compiler that does not support c99. Shall we work together and make that happen or shall we just cry like little zealous babies while the real world passes by? Reality is that either you add 10 lines in the preprocessor that

Re: [libav-devel] [PATCH] flacdec: read attached pictures.

2012-06-16 Thread Luca Barbato
On 06/15/2012 02:42 PM, Anton Khirnov wrote: --- libavformat/flacdec.c | 123 + 1 file changed, 123 insertions(+) diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index 8981a56..f481c10 100644 --- a/libavformat/flacdec.c +++

[libav-devel] [PATCH 1/3] TCP: check listen()

2012-06-16 Thread Jordi Ortiz
--- libavformat/tcp.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index a6eeeb0..7e348f7 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -90,7 +90,11 @@ static int tcp_open(URLContext *h, const char *uri, int flags)

[libav-devel] [PATCH] MS Screen 1 decoder

2012-06-16 Thread Kostya Shishkov
--- As a side note, I must say that lavf ASF demuxer outputs wrong data, so for example eleventh or twelfth frame in http://samples.ffmpeg.org/V-codecs/MSS1/screen_codec.wmv is demuxed wrong compared to MPlayer. And of course it causes decoding errors. As a second side note, I heard that MSS2

Re: [libav-devel] [PATCH 1/3] TCP: check listen()

2012-06-16 Thread Samuel Pitoiset
On Sat, Jun 16, 2012 at 12:29 PM, Jordi Ortiz nenjo...@gmail.com wrote: ---  libavformat/tcp.c |    6 +-  1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index a6eeeb0..7e348f7 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@

[libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-16 Thread Samuel Pitoiset
This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses rtmphttp:// as an alternative to the tcp:// protocol. This allows moving most of the lower level logic out from the

Re: [libav-devel] [PATCH 1/2] dnxhdenc: remove useless uses of restrict.

2012-06-16 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: Hi, On Fri, Jun 15, 2012 at 5:39 PM, Måns Rullgård m...@mansr.com wrote: Ronald S. Bultje rsbul...@gmail.com writes: From: Ronald S. Bultje rsbul...@gmail.com ---  libavcodec/dnxhdenc.c |    4 ++--  1 file changed, 2 insertions(+), 2

Re: [libav-devel] [PATCH] snow: remove a VLA.

2012-06-16 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: Hi, On Fri, Jun 15, 2012 at 5:37 PM, Måns Rullgård m...@mansr.com wrote: Ronald S. Bultje rsbul...@gmail.com writes: From: Ronald S. Bultje rsbul...@gmail.com ---  libavcodec/snowenc.c |   42 ++  1 file

Re: [libav-devel] [PATCH] Change all uses of restrict to use av_restrict instead.

2012-06-16 Thread Måns Rullgård
Kostya Shishkov kostya.shish...@gmail.com writes: On Sat, Jun 16, 2012 at 01:35:39AM -0400, Ronald S. Bultje wrote: Hi, On Sat, Jun 16, 2012 at 1:32 AM, Kostya Shishkov kostya.shish...@gmail.com wrote: On Sat, Jun 16, 2012 at 01:22:26AM -0400, Ronald S. Bultje wrote: On Sat, Jun 16,

Re: [libav-devel] [PATCH] flacdec: read attached pictures.

2012-06-16 Thread Anton Khirnov
On Sat, 16 Jun 2012 11:17:50 +0200, Luca Barbato lu_z...@gentoo.org wrote: On 06/15/2012 02:42 PM, Anton Khirnov wrote: --- libavformat/flacdec.c | 123 + 1 file changed, 123 insertions(+) diff --git a/libavformat/flacdec.c

Re: [libav-devel] [PATCH] Change all uses of restrict to use av_restrict instead.

2012-06-16 Thread Ronald S. Bultje
Hi, On Sat, Jun 16, 2012 at 2:21 AM, Luca Barbato lu_z...@gentoo.org wrote: On 06/16/2012 03:02 AM, Ronald S. Bultje wrote: I wish to support a compiler that does not support c99. Shall we work together and make that happen or shall we just cry like little zealous babies while the real world

Re: [libav-devel] [PATCH] Change all uses of restrict to use av_restrict instead.

2012-06-16 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: Hi, On Sat, Jun 16, 2012 at 2:21 AM, Luca Barbato lu_z...@gentoo.org wrote: On 06/16/2012 03:02 AM, Ronald S. Bultje wrote: I wish to support a compiler that does not support c99. Shall we work together and make that happen or shall we just cry

[libav-devel] [PATCH 1/2] fate: vorbis: add 5.1 surround test

2012-06-16 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- tests/fate/vorbis.mak |4 1 file changed, 4 insertions(+) diff --git a/tests/fate/vorbis.mak b/tests/fate/vorbis.mak index 802c529..774cb35 100644 --- a/tests/fate/vorbis.mak +++ b/tests/fate/vorbis.mak @@ -76,6 +76,10 @@ FATE_VORBIS +=

[libav-devel] [PATCH 2/2] vorbisdec: replace div/mod in loop with a counter

2012-06-16 Thread Mans Rullgard
2x speedup of surround decoding on Cortex-A9. Signed-off-by: Mans Rullgard m...@mansr.com --- libavcodec/vorbisdec.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c index 08198d7..de2 100644 ---

Re: [libav-devel] [PATCH 1/3] TCP: check listen()

2012-06-16 Thread Martin Storsjö
On Sat, 16 Jun 2012, Jordi Ortiz wrote: --- libavformat/tcp.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index a6eeeb0..7e348f7 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -90,7 +90,11 @@ static int

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-16 Thread Martin Storsjö
On Sat, 16 Jun 2012, Samuel Pitoiset wrote: This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses rtmphttp:// as an alternative to the tcp:// protocol. This allows moving

Re: [libav-devel] [PATCH] Change all uses of restrict to use av_restrict instead.

2012-06-16 Thread Luca Barbato
On 06/16/2012 06:33 PM, Ronald S. Bultje wrote: Hi, On Sat, Jun 16, 2012 at 2:21 AM, Luca Barbato lu_z...@gentoo.org wrote: On 06/16/2012 03:02 AM, Ronald S. Bultje wrote: I wish to support a compiler that does not support c99. Shall we work together and make that happen or shall we just

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-16 Thread Samuel Pitoiset
On Sat, Jun 16, 2012 at 9:43 PM, Martin Storsjö mar...@martin.st wrote: On Sat, 16 Jun 2012, Samuel Pitoiset wrote: This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation

Re: [libav-devel] [PATCH] Change all uses of restrict to use av_restrict instead.

2012-06-16 Thread Måns Rullgård
Luca Barbato lu_z...@gentoo.org writes: On 06/16/2012 06:33 PM, Ronald S. Bultje wrote: Hi, On Sat, Jun 16, 2012 at 2:21 AM, Luca Barbato lu_z...@gentoo.org wrote: On 06/16/2012 03:02 AM, Ronald S. Bultje wrote: I wish to support a compiler that does not support c99. Shall we work

Re: [libav-devel] [PATCH] Change all uses of restrict to use av_restrict instead.

2012-06-16 Thread Måns Rullgård
Måns Rullgård m...@mansr.com writes: Luca Barbato lu_z...@gentoo.org writes: On 06/16/2012 06:33 PM, Ronald S. Bultje wrote: Hi, On Sat, Jun 16, 2012 at 2:21 AM, Luca Barbato lu_z...@gentoo.org wrote: On 06/16/2012 03:02 AM, Ronald S. Bultje wrote: I wish to support a compiler that does

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-16 Thread Martin Storsjö
On Sat, 16 Jun 2012, Samuel Pitoiset wrote: +static int rtmp_http_open(URLContext *h, const char *uri, int flags) +{ +    RTMP_HTTPContext *rt = h-priv_data; +    char headers[1024], url[1024]; +    int ret, off = 0; + +    av_url_split(NULL, 0, NULL, 0, rt-host, sizeof(rt-host), rt-port, +    

Re: [libav-devel] [PATCH 2/2] vorbisdec: replace div/mod in loop with a counter

2012-06-16 Thread Luca Barbato
On 06/16/2012 07:18 PM, Mans Rullgard wrote: 2x speedup of surround decoding on Cortex-A9. Signed-off-by: Mans Rullgard m...@mansr.com --- libavcodec/vorbisdec.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) Both patches seem fine. lu -- Luca Barbato

Re: [libav-devel] [PATCH] vf_fps: reduce delay.

2012-06-16 Thread Luca Barbato
On 06/16/2012 05:09 PM, Anton Khirnov wrote: Output input frames as soon as possible, don't wait to have two frames. --- libavfilter/vf_fps.c | 59 -- 1 file changed, 38 insertions(+), 21 deletions(-) Looks ok. lu -- Luca Barbato

Re: [libav-devel] [PATCH] flacdec: read attached pictures.

2012-06-16 Thread Luca Barbato
On 06/16/2012 05:00 PM, Anton Khirnov wrote: I don't see much point in it, at least for now. Push as is then. I doubt we'll have the situation anyway. lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero ___ libav-devel mailing list