Re: [libav-devel] [PATCH] tcp: make connect() timeout properly

2011-05-25 Thread Martin Storsjö
On Mon, 23 May 2011, Luca Barbato wrote: On 5/21/11 2:35 PM, Martin Storsjö wrote: Hmm, I guess we should map error codes from winsock errors to AVERRORs here, too, as we do internally in ff_neterrno() now. That's mostly important for EAGAIN though, and I don't think we should hit that

Re: [libav-devel] dv aspect ratio

2011-05-25 Thread Tomas Härdin
Maksym Veremeyenko skrev 2011-05-25 07:06: hi, years ago there was a patch http://git.libav.org/?p=libav.git;a=commitdiff;h=6aafe463e5d1483b95ad259334c45d2741c92fb2 that splits aspect ratio detection for SMPTE 314M and IEC 61834. i have a bunch of files that properly displayed by quicktime,

Re: [libav-devel] dv aspect ratio

2011-05-25 Thread Maksym Veremeyenko
25.05.11 11:21, Tomas Härdin написав(ла): Maksym Veremeyenko skrev 2011-05-25 07:06: hi, years ago there was a patch http://git.libav.org/?p=libav.git;a=commitdiff;h=6aafe463e5d1483b95ad259334c45d2741c92fb2 that splits aspect ratio detection for SMPTE 314M and IEC 61834. i have a bunch of

Re: [libav-devel] [PATCH 2/3] ac3enc: add support for E-AC-3 encoding.

2011-05-25 Thread Diego Biurrun
On Tue, May 24, 2011 at 08:21:24PM -0400, Justin Ruggles wrote: This adds basic stream format support and allows for arbitrary bit rates rather than just those supported in AC-3. --- Changelog |2 + configure |1 +

Re: [libav-devel] [PATCH 2/2] Update 8-bit H.264 IDCT cosmetics.

2011-05-25 Thread Diego Biurrun
On Tue, May 24, 2011 at 06:03:21PM -0400, Daniel Kang wrote: 3 files changed, 57 insertions(+), 72 deletions(-) I honestly cannot make heads or tails of the log message. You say you are updating cosmetics, but what sort of cosmetics would need to be updated? And how is that related to

Re: [libav-devel] [PATCH] Remove h263_msmpeg4 from MpegEncContext.

2011-05-25 Thread Måns Rullgård
Alex Converse alex.conve...@gmail.com writes: It was long ago superseded by msmpeg4_version. --- libavcodec/arm/asm-offsets.h | 12 ++-- libavcodec/h263dec.c |8 +--- libavcodec/mpegvideo.c |2 +- libavcodec/mpegvideo.h |2 --

Re: [libav-devel] [PATCH] configure: enable memalign_hack automatically when needed

2011-05-25 Thread Måns Rullgård
Kirill Gavrilov gavr.m...@gmail.com writes: On Wed, May 25, 2011 at 2:55 AM, Diego Biurrun di...@biurrun.de wrote: Tested to work as expected on MinGW and Cygwin. Good work, please push. This should make us work out-of-the-box without extra flags on DOS and MinGW :-) Sorry for stupid

Re: [libav-devel] [PATCH] configure: enable memalign_hack automatically when needed

2011-05-25 Thread Diego Biurrun
On Wed, May 25, 2011 at 08:51:34AM +0400, Kirill Gavrilov wrote: On Wed, May 25, 2011 at 2:55 AM, Diego Biurrun di...@biurrun.de wrote: Tested to work as expected on MinGW and Cygwin. Good work, please push. This should make us work out-of-the-box without extra flags on DOS and MinGW

Re: [libav-devel] FATE review

2011-05-25 Thread Diego Biurrun
On Fri, May 20, 2011 at 08:49:20PM +0200, Diego Biurrun wrote: On Thu, May 12, 2011 at 05:30:04PM +0200, Diego Biurrun wrote: First off, it would be great to have a Cygwin FATE configuration again. People do use Cygwin and we would profit from timely notification of breakage. Ronald

Re: [libav-devel] [PATCH 1/3] ffmpeg: purge redundant AVInputStream.index.

2011-05-25 Thread Kostya
On Mon, May 23, 2011 at 05:34:55PM +0200, Anton Khirnov wrote: AVStream.index stores the same thing. --- ffmpeg.c | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) looks ok ___ libav-devel mailing list

Re: [libav-devel] [PATCH 2/3] ffmpeg: simplify managing input files and streams

2011-05-25 Thread Kostya
On Mon, May 23, 2011 at 05:34:56PM +0200, Anton Khirnov wrote: Grow the file and stream list in opt_input_file() instead of creating it all at once in transcode(). This is simpler and will be useful for following commits. --- ffmpeg.c | 163

Re: [libav-devel] FATE review

2011-05-25 Thread Ronald S. Bultje
Hi, On Wed, May 25, 2011 at 8:14 AM, Diego Biurrun di...@biurrun.de wrote: On Fri, May 20, 2011 at 08:49:20PM +0200, Diego Biurrun wrote: On Thu, May 12, 2011 at 05:30:04PM +0200, Diego Biurrun wrote: First off, it would be great to have a Cygwin FATE configuration again. People do use

Re: [libav-devel] [PATCH 3/3] ffmpeg: get rid of useless AVInputStream.nb_streams.

2011-05-25 Thread Kostya
On Mon, May 23, 2011 at 05:34:57PM +0200, Anton Khirnov wrote: It's a duplicate of AVFormatContext.nb_streams. --- ffmpeg.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) ok ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] FATE review

2011-05-25 Thread Diego Biurrun
On Wed, May 25, 2011 at 08:23:31AM -0400, Ronald S. Bultje wrote: On Wed, May 25, 2011 at 8:14 AM, Diego Biurrun di...@biurrun.de wrote: On Fri, May 20, 2011 at 08:49:20PM +0200, Diego Biurrun wrote: On Thu, May 12, 2011 at 05:30:04PM +0200, Diego Biurrun wrote: First off, it would be

Re: [libav-devel] FATE review

2011-05-25 Thread Ronald S. Bultje
Hi, On Wed, May 25, 2011 at 8:46 AM, Diego Biurrun di...@biurrun.de wrote: On Wed, May 25, 2011 at 08:23:31AM -0400, Ronald S. Bultje wrote: On Wed, May 25, 2011 at 8:14 AM, Diego Biurrun di...@biurrun.de wrote: On Fri, May 20, 2011 at 08:49:20PM +0200, Diego Biurrun wrote: On Thu, May 12,

Re: [libav-devel] [PATCH] Fix end time of last chapter in compute_chapters_end

2011-05-25 Thread Anton Khirnov
On Mon, 23 May 2011 14:26:54 -0700, John Stebbins stebb...@jetheaddev.com wrote: Parenthesis are misplaced in calculation of max_time. Queued, thanks. -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org

[libav-devel] [PATCH] avoptions: Return explicitly NAN or {0, 0} if the option isn't found

2011-05-25 Thread Martin Storsjö
This actually matches what av_get_double did earlier, the 0.0/0.0 division was intentional, for producing NAN. Still keeping the check for the return value from av_get_number, for clarity. --- Implemented part of the suggestion now - the setting of num/den to 0 could be removed from the error

[libav-devel] [PATCH 1/2] movenc: Add an AVClass for setting muxer specific options

2011-05-25 Thread Martin Storsjö
--- Changed to only use one single AVClass, since all the muxers have the same options anyway, as suggested by Anton. libavformat/movenc.c | 18 ++ libavformat/movenc.h |1 + 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/libavformat/movenc.c

[libav-devel] [PATCH 2/2] movenc: Deprecate the global RTP hinting flag, use a private AVOption instead

2011-05-25 Thread Martin Storsjö
Instead of -fflags rtphint, set -movflags rtphint instead. --- libavformat/avformat.h |4 +++- libavformat/movenc.c | 12 +++- libavformat/movenc.h |4 libavformat/options.c |4 +++- libavformat/version.h |3 +++ 5 files changed, 24 insertions(+), 3

[libav-devel] [PATCH 01/26] bktr: add width/height private options.

2011-05-25 Thread Anton Khirnov
--- libavdevice/bktr.c | 24 +++- 1 files changed, 15 insertions(+), 9 deletions(-) diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c index 8215671..e0fa8da 100644 --- a/libavdevice/bktr.c +++ b/libavdevice/bktr.c @@ -246,15 +246,21 @@ static int

[libav-devel] [PATCH 03/26] v4l: add width/height private options.

2011-05-25 Thread Anton Khirnov
--- libavdevice/v4l.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c index 54d0394..f5c 100644 --- a/libavdevice/v4l.c +++ b/libavdevice/v4l.c @@ -89,8 +89,10 @@ static int grab_read_header(AVFormatContext *s1,

[libav-devel] [PATCH 04/26] v4l2: add width/height private options.

2011-05-25 Thread Anton Khirnov
--- libavdevice/v4l2.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 566ee92..d7aebe2 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -587,8 +587,10 @@ static int v4l2_read_header(AVFormatContext *s1,

[libav-devel] [PATCH 07/26] rawdec: add width/height private options.

2011-05-25 Thread Anton Khirnov
--- libavformat/rawdec.c | 25 ++--- libavformat/rawdec.h |6 ++ libavformat/rawvideodec.c |3 ++- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index b545dbd..329985d 100644 ---

[libav-devel] [PATCH 09/26] lavf: deprecate AVFormatParameters.width/height.

2011-05-25 Thread Anton Khirnov
--- libavdevice/bktr.c |2 ++ libavdevice/libdc1394.c |2 ++ libavdevice/v4l.c |2 ++ libavdevice/v4l2.c |2 ++ libavdevice/vfwcap.c|2 ++ libavdevice/x11grab.c |2 ++ libavformat/avformat.h |4 ++-- libavformat/img2.c |2 ++

[libav-devel] [PATCH 06/26] x11grab: add width/height private options.

2011-05-25 Thread Anton Khirnov
--- libavdevice/x11grab.c | 41 +++-- 1 files changed, 31 insertions(+), 10 deletions(-) diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c index 0e63d09..cb643d8 100644 --- a/libavdevice/x11grab.c +++ b/libavdevice/x11grab.c @@ -37,6 +37,8 @@

[libav-devel] [PATCH 08/26] tty: add width/height private options.

2011-05-25 Thread Anton Khirnov
--- libavformat/tty.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/tty.c b/libavformat/tty.c index bc6058d..cce5b0e 100644 --- a/libavformat/tty.c +++ b/libavformat/tty.c @@ -35,6 +35,7 @@ typedef struct { AVClass *class; int

[libav-devel] [PATCH 22/26] x11grab: add a framerate private option.

2011-05-25 Thread Anton Khirnov
--- libavdevice/x11grab.c | 21 + 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c index d48478b..1ef4bbd 100644 --- a/libavdevice/x11grab.c +++ b/libavdevice/x11grab.c @@ -56,7 +56,7 @@ struct x11_grab {

[libav-devel] [PATCH 24/26] rawdec: factor video demuxer definitions into a macro.

2011-05-25 Thread Anton Khirnov
--- libavformat/cavsvideodec.c | 11 +-- libavformat/diracdec.c | 11 +-- libavformat/dnxhddec.c | 11 +-- libavformat/h261dec.c | 12 +--- libavformat/h263dec.c | 12 +--- libavformat/h264dec.c | 12 +---

[libav-devel] [PATCH 13/26] v4l2: add a pixel_format private option.

2011-05-25 Thread Anton Khirnov
--- libavdevice/v4l2.c | 15 +++ 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 4e0b499..f829e50 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -69,6 +69,7 @@ struct video_data { unsigned int *buf_len;

[libav-devel] [PATCH 23/26] img2: add a framerate private option.

2011-05-25 Thread Anton Khirnov
--- libavformat/img2.c | 28 +++- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/libavformat/img2.c b/libavformat/img2.c index 63b2b83..516d04f 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -22,18 +22,22 @@ #include

[libav-devel] [PATCH 16/26] bktr: add a framerate private option.

2011-05-25 Thread Anton Khirnov
--- libavdevice/bktr.c | 21 ++--- 1 files changed, 6 insertions(+), 15 deletions(-) diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c index 6d49024..90161f0 100644 --- a/libavdevice/bktr.c +++ b/libavdevice/bktr.c @@ -53,10 +53,9 @@ typedef struct { int video_fd;

[libav-devel] [PATCH 20/26] v4l2: add a framerate private option.

2011-05-25 Thread Anton Khirnov
--- libavdevice/v4l2.c | 26 ++ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index f829e50..2572912 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -63,6 +63,7 @@ struct video_data { int width,

[libav-devel] [PATCH 19/26] v4l: add a framerate private option.

2011-05-25 Thread Anton Khirnov
--- libavdevice/v4l.c | 21 + 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c index bd011e1..94b670a 100644 --- a/libavdevice/v4l.c +++ b/libavdevice/v4l.c @@ -42,7 +42,7 @@ typedef struct { int fd; int

Re: [libav-devel] [PATCH 2/2] movenc: Deprecate the global RTP hinting flag, use a private AVOption instead

2011-05-25 Thread Anton Khirnov
On Wed, 25 May 2011 17:04:56 +0300, Martin Storsjö mar...@martin.st wrote: Instead of -fflags rtphint, set -movflags rtphint instead. --- libavformat/avformat.h |4 +++- libavformat/movenc.c | 12 +++- libavformat/movenc.h |4 libavformat/options.c |4 +++-

Re: [libav-devel] [PATCH] Ensure that 'make uninstall' removes everything 'make install' installed.

2011-05-25 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: --- Makefile |2 ++ subdir.mak |6 -- 2 files changed, 6 insertions(+), 2 deletions(-) This is an RFC patch that addresses some oversights in the 'uninstall' target. I implemented it to remove absolutely everything that the 'install'

Re: [libav-devel] [PATCH 02/26] libdc1394: add width/height private options.

2011-05-25 Thread Stefano Sabatini
On date Wednesday 2011-05-25 16:27:24 +0200, Anton Khirnov encoded: --- libavdevice/libdc1394.c | 15 +++ 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c index 96e9e9b..514087d 100644 ---

Re: [libav-devel] [PATCH] configure: enable memalign_hack automatically when needed

2011-05-25 Thread Måns Rullgård
Kirill Gavrilov gavr.m...@gmail.com writes: On Wed, May 25, 2011 at 3:33 PM, Diego Biurrun di...@biurrun.de wrote: Patches welcome, maybe you can implement and test that? I check the function in gcc headers (it declared in xmmintrin.h - mm_malloc.h). On Linux it redirect to

Re: [libav-devel] [PATCH 12/26] v4l: add a pixel_format private option.

2011-05-25 Thread Stefano Sabatini
On date Wednesday 2011-05-25 16:27:34 +0200, Anton Khirnov encoded: --- libavdevice/v4l.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c index f946bb3..bd011e1 100644 --- a/libavdevice/v4l.c +++ b/libavdevice/v4l.c

Re: [libav-devel] [PATCH 13/26] v4l2: add a pixel_format private option.

2011-05-25 Thread Stefano Sabatini
On date Wednesday 2011-05-25 16:27:35 +0200, Anton Khirnov encoded: --- libavdevice/v4l2.c | 15 +++ 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 4e0b499..f829e50 100644 --- a/libavdevice/v4l2.c +++

Re: [libav-devel] [PATCH 17/26] fbdev: add a framerate private option.

2011-05-25 Thread Stefano Sabatini
On date Wednesday 2011-05-25 16:27:39 +0200, Anton Khirnov encoded: --- libavdevice/fbdev.c | 37 + 1 files changed, 25 insertions(+), 12 deletions(-) diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c index 6b03be4..01c4edc 100644 ---

Re: [libav-devel] [PATCH 1/2] movenc: Add an AVClass for setting muxer specific options

2011-05-25 Thread Gil Pedersen
On 25/05/2011, at 16.04, Martin Storsjö wrote: Changed to only use one single AVClass, since all the muxers have the same options anyway, as suggested by Anton. Won't this make ffmpeg -h display the exact same AVOptions 5 times? /Gil ___ libav-devel

[libav-devel] [PATCH] rtmp: Don't try to do av_malloc(0)

2011-05-25 Thread Martin Storsjö
Some received packets can have size 0. The return value from av_malloc(0) may be NULL, which is ok if the size was 0. On OS X, however, the returned pointer is non-null but leads to crashes when trying to free it. --- libavformat/rtmppkt.c |4 ++-- 1 files changed, 2 insertions(+), 2

Re: [libav-devel] [PATCH 04/26] v4l2: add width/height private options.

2011-05-25 Thread Stefano Sabatini
On date Wednesday 2011-05-25 16:27:26 +0200, Anton Khirnov encoded: --- libavdevice/v4l2.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 566ee92..d7aebe2 100644 --- a/libavdevice/v4l2.c +++

Re: [libav-devel] [PATCH 1/2] movenc: Add an AVClass for setting muxer specific options

2011-05-25 Thread Martin Storsjö
On Wed, 25 May 2011, Gil Pedersen wrote: On 25/05/2011, at 16.04, Martin Storsjö wrote: Changed to only use one single AVClass, since all the muxers have the same options anyway, as suggested by Anton. Won't this make ffmpeg -h display the exact same AVOptions 5 times? Yes, that's

Re: [libav-devel] [PATCH 24/26] rawdec: factor video demuxer definitions into a macro.

2011-05-25 Thread Stefano Sabatini
Good idea. On date Wednesday 2011-05-25 16:27:46 +0200, Anton Khirnov encoded: --- libavformat/cavsvideodec.c | 11 +-- libavformat/diracdec.c | 11 +-- libavformat/dnxhddec.c | 11 +-- libavformat/h261dec.c | 12 +---

Re: [libav-devel] [PATCH] configure: Print whether yasm or nasm is used as x86 assembler.

2011-05-25 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: --- configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 5e3d6fb..f67c2c8 100755 --- a/configure +++ b/configure @@ -3104,7 +3104,7 @@ fi echo big-endian${bigendian-no}

Re: [libav-devel] [PATCH] rtmp: Don't try to do av_malloc(0)

2011-05-25 Thread Kostya
On Wed, May 25, 2011 at 07:10:18PM +0300, Martin Storsjö wrote: Some received packets can have size 0. The return value from av_malloc(0) may be NULL, which is ok if the size was 0. On OS X, however, the returned pointer is non-null but leads to crashes when trying to free it. ---

Re: [libav-devel] [PATCH/RFC] fps probsize

2011-05-25 Thread Alex Converse
On Mon, May 23, 2011 at 3:18 PM, Alex Converse alex.conve...@gmail.com wrote: On Mon, May 16, 2011 at 12:10 PM, Alex Converse alex.conve...@gmail.com wrote: On Sat, May 14, 2011 at 5:46 AM, Reinhard Tartler siret...@tauware.de wrote: Am Freitag, den 13.05.2011, 15:30 -0700 schrieb Aℓex

Re: [libav-devel] [PATCH] rtmp: Don't try to do av_malloc(0)

2011-05-25 Thread Ronald S. Bultje
Hi, On Wed, May 25, 2011 at 12:10 PM, Martin Storsjö mar...@martin.st wrote: -    pkt-data = av_malloc(size); -    if (!pkt-data) +    pkt-data = size ? av_malloc(size) : NULL; +    if (!pkt-data size)         return AVERROR(ENOMEM); + if (size) { pkt-data = av_malloc(size); if

Re: [libav-devel] [PATCH 2/3] ac3enc: add support for E-AC-3 encoding.

2011-05-25 Thread Justin Ruggles
On 05/25/2011 05:50 AM, Diego Biurrun wrote: On Tue, May 24, 2011 at 08:21:24PM -0400, Justin Ruggles wrote: This adds basic stream format support and allows for arbitrary bit rates rather than just those supported in AC-3. --- Changelog |2 + configure

Re: [libav-devel] [PATCH] Ensure that 'make uninstall' removes everything 'make install' installed.

2011-05-25 Thread Alex Converse
2011/5/25 Måns Rullgård m...@mansr.com: Diego Biurrun di...@biurrun.de writes: ---  Makefile   |    2 ++  subdir.mak |    6 --  2 files changed, 6 insertions(+), 2 deletions(-) This is an RFC patch that addresses some oversights in the 'uninstall' target.  I implemented it to remove

Re: [libav-devel] [PATCH] configure: Print whether yasm or nasm is used as x86 assembler.

2011-05-25 Thread Luca Barbato
On 5/25/11 6:08 PM, Diego Biurrun wrote: --- configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 5e3d6fb..f67c2c8 100755 --- a/configure +++ b/configure @@ -3104,7 +3104,7 @@ fi echo big-endian${bigendian-no} echo

[libav-devel] [PATCH] rtmp: Don't try to do av_malloc(0)

2011-05-25 Thread Martin Storsjö
Some received packets can have size 0. The return value from av_malloc(0) may be NULL, which is ok if the size was 0. On OS X, however, the returned pointer is non-null but leads to crashes when trying to free it. --- libavformat/rtmppkt.c |2 ++ libavformat/rtmpproto.c |2 +- 2 files

Re: [libav-devel] [PATCH] rtmp: Don't try to do av_malloc(0)

2011-05-25 Thread Ronald S. Bultje
Hi, On Wed, May 25, 2011 at 1:37 PM, Martin Storsjö mar...@martin.st wrote: @@ -233,9 +233,11 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *pkt,  int ff_rtmp_packet_create(RTMPPacket *pkt, int channel_id, RTMPPacketType type,                           int timestamp, int size)  { +

[libav-devel] [PATCH 3/3] ARM: add ARMv6 optimised av_clip_uintp2

2011-05-25 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- libavutil/arm/intmath.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h index 5f85bfa..cc3de90 100644 --- a/libavutil/arm/intmath.h +++ b/libavutil/arm/intmath.h @@

[libav-devel] [PATCH 2/3] ARM: remove volatile from asm statements in libavutil/intmath

2011-05-25 Thread Mans Rullgard
The volatile qualifiers are not needed on these statements as their effects are fully specified by constraints. Signed-off-by: Mans Rullgard m...@mansr.com --- libavutil/arm/intmath.h | 32 1 files changed, 16 insertions(+), 16 deletions(-) diff --git

[libav-devel] [PATCH 1/3] ARM: fix av_clipl_int32_arm()

2011-05-25 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- libavutil/arm/intmath.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h index 2f651d1..155d1a8 100644 --- a/libavutil/arm/intmath.h +++ b/libavutil/arm/intmath.h @@ -93,6

[libav-devel] [PATCH] avformat: Add fpsprobesize as an AVOption.

2011-05-25 Thread Alex Converse
From: Alex Converse aconve...@google.com --- Rediffed, extra karma if I don't have to update the date yet again. doc/APIchanges |3 +++ libavformat/avformat.h |5 + libavformat/options.c |1 + libavformat/utils.c|2 ++ libavformat/version.h |4 ++-- 5 files

Re: [libav-devel] [PATCH] avoptions: Return explicitly NAN or {0, 0} if the option isn't found

2011-05-25 Thread Justin Ruggles
On 05/25/2011 09:54 AM, Martin Storsjö wrote: This actually matches what av_get_double did earlier, the 0.0/0.0 division was intentional, for producing NAN. Still keeping the check for the return value from av_get_number, for clarity. --- Implemented part of the suggestion now - the

Re: [libav-devel] [PATCH 1/3] ARM: fix av_clipl_int32_arm()

2011-05-25 Thread Kostya
On Wed, May 25, 2011 at 06:45:35PM +0100, Mans Rullgard wrote: Signed-off-by: Mans Rullgard m...@mansr.com --- libavutil/arm/intmath.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h index 2f651d1..155d1a8 100644

Re: [libav-devel] [PATCH 2/3] ARM: remove volatile from asm statements in libavutil/intmath

2011-05-25 Thread Kostya
On Wed, May 25, 2011 at 06:45:36PM +0100, Mans Rullgard wrote: The volatile qualifiers are not needed on these statements as their effects are fully specified by constraints. Signed-off-by: Mans Rullgard m...@mansr.com --- libavutil/arm/intmath.h | 32 1

Re: [libav-devel] [PATCH 3/3] ARM: add ARMv6 optimised av_clip_uintp2

2011-05-25 Thread Kostya
On Wed, May 25, 2011 at 06:45:37PM +0100, Mans Rullgard wrote: Signed-off-by: Mans Rullgard m...@mansr.com --- libavutil/arm/intmath.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h index 5f85bfa..cc3de90

[libav-devel] [PATCH 1/3] swscale: replace formatConvBuffer[VOF] by allocated array.

2011-05-25 Thread Ronald S. Bultje
This allows to convert between formats of arbitrary width, regardless of the value of VOF/VOFW. --- libswscale/swscale_internal.h |2 +- libswscale/swscale_template.c |4 ++-- libswscale/utils.c|6 ++ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git

[libav-devel] [PATCH 3/3] swscale: remove VOF/VOFW.

2011-05-25 Thread Ronald S. Bultje
--- libswscale/swscale_internal.h |8 libswscale/utils.c| 15 +++ 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 964f710..5aad9cf 100644 --- a/libswscale/swscale_internal.h

Re: [libav-devel] [Announcement] FFmtech board of directors election

2011-05-25 Thread Dominik 'Rathann' Mierzejewski
Hi, On Monday, 09 May 2011 at 23:50, Benjamin Larsson wrote: Hi, it's time to elect a new board for the FFmtech foundation. If you want to candidate or participate in electing the new board then please respond to this email. To be eligible for this you must fulfil the following. People who

Re: [libav-devel] [PATCH] rtmp: Don't try to do av_malloc(0)

2011-05-25 Thread Martin Storsjö
On Wed, 25 May 2011, Ronald S. Bultje wrote: Hi, On Wed, May 25, 2011 at 1:37 PM, Martin Storsjö mar...@martin.st wrote: @@ -233,9 +233,11 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *pkt,  int ff_rtmp_packet_create(RTMPPacket *pkt, int channel_id, RTMPPacketType type,  

Re: [libav-devel] [PATCH] rtmp: Don't try to do av_malloc(0)

2011-05-25 Thread Ronald S. Bultje
Hi Martin, On Wed, May 25, 2011 at 2:53 PM, Martin Storsjö mar...@martin.st wrote: On Wed, 25 May 2011, Ronald S. Bultje wrote: On Wed, May 25, 2011 at 1:37 PM, Martin Storsjö mar...@martin.st wrote: @@ -233,9 +233,11 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *pkt,  int

Re: [libav-devel] [PATCH] avformat: Add fpsprobesize as an AVOption.

2011-05-25 Thread Reinhard Tartler
On Wed, May 25, 2011 at 19:49:00 (CEST), Alex Converse wrote: From: Alex Converse aconve...@google.com --- Rediffed, extra karma if I don't have to update the date yet again. doc/APIchanges |3 +++ libavformat/avformat.h |5 + libavformat/options.c |1 +

Re: [libav-devel] [PATCH] avoptions: Return explicitly NAN or {0, 0} if the option isn't found

2011-05-25 Thread Martin Storsjö
On Wed, 25 May 2011, Justin Ruggles wrote: On 05/25/2011 09:54 AM, Martin Storsjö wrote: This actually matches what av_get_double did earlier, the 0.0/0.0 division was intentional, for producing NAN. Still keeping the check for the return value from av_get_number, for clarity. ---

[libav-devel] [PATCH] swscale: Eliminate rgb24toyv12_c() duplication.

2011-05-25 Thread Diego Biurrun
From: Michael Niedermayer michae...@gmx.at Signed-off-by: Michael Niedermayer michae...@gmx.at Signed-off-by: Diego Biurrun di...@biurrun.de --- libswscale/rgb2rgb.h |4 +++ libswscale/rgb2rgb_template.c |8 ++ libswscale/x86/rgb2rgb_template.c | 47

Re: [libav-devel] [PATCH] swscale: Eliminate rgb24toyv12_c() duplication.

2011-05-25 Thread Ronald S. Bultje
Hi, On Wed, May 25, 2011 at 4:11 PM, Diego Biurrun di...@biurrun.de wrote: From: Michael Niedermayer michae...@gmx.at Signed-off-by: Michael Niedermayer michae...@gmx.at Signed-off-by: Diego Biurrun di...@biurrun.de ---  libswscale/rgb2rgb.h              |    4 +++  

Re: [libav-devel] [PATCH] Remove h263_msmpeg4 from MpegEncContext.

2011-05-25 Thread Måns Rullgård
Måns Rullgård m...@mansr.com writes: Alex Converse alex.conve...@gmail.com writes: It was long ago superseded by msmpeg4_version. --- libavcodec/arm/asm-offsets.h | 12 ++-- libavcodec/h263dec.c |8 +--- libavcodec/mpegvideo.c |2 +-

[libav-devel] [PATCH] swscale: Remove orphaned, commented-out function declaration.

2011-05-25 Thread Diego Biurrun
--- libswscale/rgb2rgb.h |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/libswscale/rgb2rgb.h b/libswscale/rgb2rgb.h index 4dd0d95..6d6154b 100644 --- a/libswscale/rgb2rgb.h +++ b/libswscale/rgb2rgb.h @@ -75,14 +75,6 @@ void rgb24toyv12_c(const uint8_t *src,

Re: [libav-devel] [PATCH] swscale: Remove orphaned, commented-out function declaration.

2011-05-25 Thread Ronald S. Bultje
Hi, On Wed, May 25, 2011 at 4:34 PM, Diego Biurrun di...@biurrun.de wrote: ---  libswscale/rgb2rgb.h |    8  1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/libswscale/rgb2rgb.h b/libswscale/rgb2rgb.h index 4dd0d95..6d6154b 100644 --- a/libswscale/rgb2rgb.h +++

Re: [libav-devel] [PATCH] swscale: reindent h[cy]scale_fast() and updateDitherTables().

2011-05-25 Thread Diego Biurrun
On Tue, May 24, 2011 at 05:50:13PM -0400, Ronald S. Bultje wrote: --- libswscale/x86/swscale_template.c | 265 +++-- 1 files changed, 133 insertions(+), 132 deletions(-) OK Diego ___ libav-devel mailing list

[libav-devel] [PATCH] ac3enc: fix valgrind errors

2011-05-25 Thread Justin Ruggles
uninitialized coefficients were being used to generate exponents, some of which actually ended up in the final stream, but those were just extra exponents that are not used by any decoder. --- libavcodec/ac3enc.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [libav-devel] [PATCH] ac3enc: fix valgrind errors

2011-05-25 Thread Alex Converse
On Wed, May 25, 2011 at 2:28 PM, Justin Ruggles justin.rugg...@gmail.com wrote: uninitialized coefficients were being used to generate exponents, some of which actually ended up in the final stream, but those were just extra exponents that are not used by any decoder. ---  

Re: [libav-devel] [PATCH] ac3enc: fix valgrind errors

2011-05-25 Thread Justin Ruggles
On 05/25/2011 05:37 PM, Alex Converse wrote: On Wed, May 25, 2011 at 2:28 PM, Justin Ruggles justin.rugg...@gmail.com wrote: uninitialized coefficients were being used to generate exponents, some of which actually ended up in the final stream, but those were just extra exponents that are

Re: [libav-devel] [PATCH] ac3enc: fix valgrind errors

2011-05-25 Thread Alex Converse
On Wed, May 25, 2011 at 2:52 PM, Justin Ruggles justin.rugg...@gmail.com wrote: On 05/25/2011 05:37 PM, Alex Converse wrote: On Wed, May 25, 2011 at 2:28 PM, Justin Ruggles justin.rugg...@gmail.com wrote: uninitialized coefficients were being used to generate exponents, some of which

[libav-devel] [PATCH] swscale: Remove disabled code.

2011-05-25 Thread Diego Biurrun
--- libswscale/ppc/yuv2rgb_altivec.c | 152 - libswscale/rgb2rgb_template.c |7 -- libswscale/x86/rgb2rgb_template.c | 14 libswscale/yuv2rgb.c | 74 -- 4 files changed, 0 insertions(+), 247 deletions(-) diff

Re: [libav-devel] [PATCH] encoders.texi: decrease level for audio encoders section

2011-05-25 Thread Diego Biurrun
On Thu, May 19, 2011 at 08:56:07PM +0200, Stefano Sabatini wrote: Wait, I discovered some bad interaction with following chapters (looks like the @c man end is *required*). Sorry for the awful delay - pushed. Diego ___ libav-devel mailing list

[libav-devel] [PATCH] swscale: Remove commented-out printf cruft.

2011-05-25 Thread Diego Biurrun
--- libswscale/swscale-test.c |6 -- libswscale/swscale_template.c |2 -- libswscale/utils.c|1 - libswscale/x86/swscale_template.c |1 - 4 files changed, 0 insertions(+), 10 deletions(-) diff --git a/libswscale/swscale-test.c

[libav-devel] [PATCH] id3v2: Initialize tflags for version 2.2.

2011-05-25 Thread Alex Converse
--- libavformat/id3v2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 4fecffe..948261a 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -220,7 +220,7 @@ static void ff_id3v2_parse(AVFormatContext *s, int len,

Re: [libav-devel] [PATCH] ac3enc: fix valgrind errors

2011-05-25 Thread Justin Ruggles
On 05/25/2011 06:15 PM, Måns Rullgård wrote: Justin Ruggles justin.rugg...@gmail.com writes: +DECLARE_ALIGNED(16, float, cpl_coords) [AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][16] = {{{0,}}}; Would you mind dropping the comma? pushed with updated commit message and no comma.

[libav-devel] [PATCH] id3v2: Check malloc result. ID3v2 tags can be very large.

2011-05-25 Thread Alex Converse
--- libavformat/id3v2.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 948261a..06ae6f8 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -237,7 +237,7 @@ static void ff_id3v2_parse(AVFormatContext *s, int

Re: [libav-devel] [PATCH] swscale: Remove commented-out printf cruft.

2011-05-25 Thread Luca Barbato
On 5/26/11 1:41 AM, Diego Biurrun wrote: --- libswscale/swscale-test.c |6 -- libswscale/swscale_template.c |2 -- libswscale/utils.c|1 - libswscale/x86/swscale_template.c |1 - 4 files changed, 0 insertions(+), 10 deletions(-) Ok

[libav-devel] [PATCH] swscale: Remove disabled code.

2011-05-25 Thread Diego Biurrun
--- libswscale/ppc/yuv2rgb_altivec.c | 152 - libswscale/rgb2rgb_template.c |7 -- libswscale/x86/rgb2rgb_template.c | 14 libswscale/x86/swscale_template.c |7 -- libswscale/yuv2rgb.c | 74 -- 5 files

Re: [libav-devel] [PATCH 3/3] swscale: remove if (c-dstFormat) branch from yuv2packed[12X]().

2011-05-25 Thread Ronald S. Bultje
Hi, On Tue, May 24, 2011 at 4:07 PM, Ronald S. Bultje rsbul...@gmail.com wrote: This allows cutting up the function in much smaller and easier- to-maintain chunks. ---  libswscale/x86/swscale_template.c |  370 +++--  1 files changed, 234 insertions(+), 136

Re: [libav-devel] [PATCH 2/3] swscale: remove if(full_chr_int) from yuv2packed1().

2011-05-25 Thread Ronald S. Bultje
Hi, On Tue, May 24, 2011 at 4:07 PM, Ronald S. Bultje rsbul...@gmail.com wrote: If that flag is set, swScale() already proxies the call to yuv2rgbXinC_full(). Therefore, this flag is never set when yuv2packed1() is called. ---  libswscale/swscale_template.c     |    5 -  

Re: [libav-devel] [PATCH 1/3] swscale: replace formatConvBuffer[VOF] by allocated array.

2011-05-25 Thread Kostya
On Wed, May 25, 2011 at 02:38:13PM -0400, Ronald S. Bultje wrote: This allows to convert between formats of arbitrary width, regardless of the value of VOF/VOFW. --- libswscale/swscale_internal.h |2 +- libswscale/swscale_template.c |4 ++-- libswscale/utils.c|6

Re: [libav-devel] [PATCH 2/3] swscale: split chroma buffers into separate U/V planes.

2011-05-25 Thread Kostya
On Wed, May 25, 2011 at 02:38:14PM -0400, Ronald S. Bultje wrote: Preparatory step to implement support for sizes VOFW. --- libswscale/swscale.c | 68 --- libswscale/swscale_internal.h | 27 ++- libswscale/swscale_template.c | 130 +++--

Re: [libav-devel] [PATCH 3/3] swscale: remove VOF/VOFW.

2011-05-25 Thread Kostya
On Wed, May 25, 2011 at 02:38:15PM -0400, Ronald S. Bultje wrote: --- libswscale/swscale_internal.h |8 libswscale/utils.c| 15 +++ 2 files changed, 7 insertions(+), 16 deletions(-) ok, though I'd prefer giving a new variable more meaningful name (for

[libav-devel] [PATCH] libdc1394: fix compilation.

2011-05-25 Thread Anton Khirnov
Add a forgotten comma and move options/class definition outside of HAVE_LIBDC1394_1. --- libavdevice/libdc1394.c | 31 --- 1 files changed, 16 insertions(+), 15 deletions(-) diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c index 96e9e9b..336c465 100644

Re: [libav-devel] [PATCH] libdc1394: fix compilation.

2011-05-25 Thread Reinhard Tartler
On Thu, May 26, 2011 at 07:27:08 (CEST), Anton Khirnov wrote: Add a forgotten comma and move options/class definition outside of HAVE_LIBDC1394_1. --- libavdevice/libdc1394.c | 31 --- 1 files changed, 16 insertions(+), 15 deletions(-) diff --git

Re: [libav-devel] FATE review

2011-05-25 Thread Reinhard Tartler
On Wed, May 25, 2011 at 14:46:56 (CEST), Diego Biurrun wrote: On Wed, May 25, 2011 at 08:23:31AM -0400, Ronald S. Bultje wrote: On Wed, May 25, 2011 at 8:14 AM, Diego Biurrun di...@biurrun.de wrote: On Fri, May 20, 2011 at 08:49:20PM +0200, Diego Biurrun wrote: On Thu, May 12, 2011 at

[libav-devel] misplaced attribute_deprecated for AVLPCType

2011-05-25 Thread Jindřich Makovička
Hi, after the deprecation of AVLPCType, gcc-4.6 always produces warnings about wrong placement of enum attribute: /opt/ffmpeg-git/include/libavcodec/avcodec.h:522:34: warning: attribute ignored in declaration of ‘enum AVLPCType’ [enabled by default]