Re: [libav-devel] [PATCH 1/1] mxfdec: fix memleak on mxf_read_close()

2012-01-23 Thread Tomas Härdin
On Sun, 2012-01-22 at 19:58 +0100, Janne Grunau wrote: --- libavformat/mxfdec.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 4b63b27..0b514db 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@

Re: [libav-devel] [PATCH 07/11] aacenc: Move Q^3/4 calculation to it's own table

2012-01-23 Thread Nathan Caldwell
On Wed, Jan 18, 2012 at 8:14 AM, Diego Biurrun di...@biurrun.de wrote: On Wed, Jan 18, 2012 at 01:39:54AM -0700, Nathan Caldwell wrote: --- a/libavcodec/aac_tablegen.c +++ b/libavcodec/aac_tablegen.c @@ -32,6 +32,9 @@ int main(void)      WRITE_ARRAY(const, float, ff_aac_pow2sf_tab); +#if

[libav-devel] [PATCH 07/11] aacenc: Move Q^3/4 calculation to it's own table

2012-01-23 Thread Nathan Caldwell
This should be moved to tablegen at some point. --- libavcodec/aaccoder.c |7 --- libavcodec/aacenc.c |5 + libavcodec/aacenc.h |2 ++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index ec78acc..72be2a2

[libav-devel] [PATCH] config.asm: change %ifdef directives to %if directives.

2012-01-23 Thread Ronald S. Bultje
This allows combining multiple conditionals in a single statement. --- configure |3 +- libavcodec/x86/ac3dsp.asm | 10 +++--- libavcodec/x86/dct32_sse.asm|4 +- libavcodec/x86/dsputil_yasm.asm | 54

Re: [libav-devel] mpegaudio: replace a memcpy by SIMD code

2012-01-23 Thread Christophe Gisquet
Hi, 2012/1/21 Vitor Sessak vitor1...@gmail.com: Actually, the best solution would be to avoid this mempy() altogether, but I'm not sure how hard would it be. Would you have time to give it a look? Not really, sorry. I have only looked at that code because of a grep, and have no real interest

Re: [libav-devel] [PATCH] movenc: Reorder entries in the MOVIentry struct, for tigheter packing

2012-01-23 Thread Diego Biurrun
On Sat, Jan 21, 2012 at 06:28:33PM +, Måns Rullgård wrote: Diego Biurrun di...@biurrun.de writes: On Fri, Jan 20, 2012 at 02:24:18PM -0800, Luca Barbato wrote: On 20/01/12 13:49, Martin Storsjö wrote: On Fri, 20 Jan 2012, Luca Barbato wrote: On 20/01/12 11:00, Martin Storsjö

Re: [libav-devel] [PATCH] config.asm: change %ifdef directives to %if directives.

2012-01-23 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: Hi, 2012/1/23 Måns Rullgård m...@mansr.com: Ronald S. Bultje rsbul...@gmail.com writes: This allows combining multiple conditionals in a single statement. --- diff --git a/configure b/configure index 3146641..bd3e4f1 100755 --- a/configure

Re: [libav-devel] [PATCH] movenc: Reorder entries in the MOVIentry struct, for tigheter packing

2012-01-23 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: On Sat, Jan 21, 2012 at 06:28:33PM +, Måns Rullgård wrote: Diego Biurrun di...@biurrun.de writes: On Fri, Jan 20, 2012 at 02:24:18PM -0800, Luca Barbato wrote: On 20/01/12 13:49, Martin Storsjö wrote: On Fri, 20 Jan 2012, Luca Barbato wrote:

Re: [libav-devel] [PATCH 1/2] vc1: don't read the interpfrm and bfraction elements for interlaced frames

2012-01-23 Thread Mashiat Sarker Shakkhar
- Original Message - From: Hendrik Leppkes h.lepp...@gmail.com To: libav development libav-devel@libav.org Cc: Sent: Sunday, January 22, 2012 1:20 AM Subject: [libav-devel] [PATCH 1/2] vc1: don't read the interpfrm and bfraction elements for interlaced frames Hi, attached

Re: [libav-devel] [PATCH 2/2] vc1: always read the bfraction element for interlaced fields

2012-01-23 Thread Mashiat Sarker Shakkhar
- Original Message - From: Hendrik Leppkes h.lepp...@gmail.com To: libav development libav-devel@libav.org Cc: Sent: Sunday, January 22, 2012 1:22 AM Subject: [libav-devel] [PATCH 2/2] vc1: always read the bfraction element for interlaced fields Hi, attached patch fixes an

Re: [libav-devel] [PATCH 2/2] vc1: always read the bfraction element for interlaced fields

2012-01-23 Thread Hendrik Leppkes
On 1/23/12, Mashiat Sarker Shakkhar shahriman_...@yahoo.com wrote: Doesn't mach my copy of spec or the ref-code. BFRACTION is only present in B-pictures, not P. My copy of ref-code says: if(vc1_InterlacedField == pPosition-ePictureFormat) { if(TRUE ==

Re: [libav-devel] [PATCH 03/12] libavformat: Add a flag for muxers that support write_packet(NULL) for flushing

2012-01-23 Thread Justin Ruggles
On 01/20/2012 05:22 PM, Martin Storsjö wrote: --- Wrote a bit more explanations in the doxy, as requested by Justin and Anton on irc. patch looks ok to me. -Justin ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH v2] Release 0.8

2012-01-23 Thread Justin Ruggles
On 01/21/2012 12:16 PM, Reinhard Tartler wrote: --- src/download | 22 ++ src/index| 44 2 files changed, 54 insertions(+), 12 deletions(-) +and muxers such as LATM or CELT in Ogg, among many others. We have a CELT

[libav-devel] valgrind lavf-mxfdec failure

2012-01-23 Thread Sean McGovern
Hi folks, Looking at this failure on the valgrind FATE runs, should mxfdec.c:1060 be an av_realloc() instead of an av_mallocz()? -- Sean McG. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [RFC/PATCH] The Small Bump

2012-01-23 Thread Anton Khirnov
On Sun, 22 Jan 2012 08:06:06 -0800, Luca Barbato lu_z...@gentoo.org wrote: On 1/22/12 1:28 AM, Anton Khirnov wrote: Hi, 0.8 is finally out so we can start preparing the next major bump. Before we can actually bump, there are still some issues to resolve: * ffmpeg.c uses deprecated

Re: [libav-devel] [PATCH 1/2] vc1: don't read the interpfrm and bfraction elements for interlaced frames

2012-01-23 Thread Kostya Shishkov
On Mon, Jan 23, 2012 at 05:41:45AM -0800, Mashiat Sarker Shakkhar wrote: - Original Message - From: Hendrik Leppkes h.lepp...@gmail.com To: libav development libav-devel@libav.org Cc: Sent: Sunday, January 22, 2012 1:20 AM Subject: [libav-devel] [PATCH 1/2] vc1: don't read

[libav-devel] [PATCH 09/11] aacenc: Deinterleave input samples before processing.

2012-01-23 Thread Nathan Caldwell
--- libavcodec/aacenc.c | 100 ++--- libavcodec/aacenc.h |6 ++- libavcodec/aacpsy.c | 11 ++--- libavcodec/psymodel.c | 16 +++- libavcodec/psymodel.h |9 +--- 5 files changed, 80 insertions(+), 62 deletions(-) diff --git

Re: [libav-devel] [libav-commits] XWD encoder and decoder

2012-01-23 Thread Martin Storsjö
On Mon, 23 Jan 2012, Paul B Mahol wrote: Module: libav Branch: master Commit: 27ed027bcdcb7445ab62d4870a8be3615ffc1e31 Author:Paul B Mahol one...@gmail.com Committer: Kostya Shishkov kostya.shish...@gmail.com Date: Sat Jan 21 17:45:52 2012 + XWD encoder and decoder

[libav-devel] [PATCH] lavd: remove deprecated v4l grab device.

2012-01-23 Thread Anton Khirnov
--- configure|2 - libavdevice/Makefile |1 - libavdevice/alldevices.c |3 - libavdevice/avdevice.h |4 - libavdevice/v4l.c| 366 -- 5 files changed, 0 insertions(+), 376 deletions(-) delete mode 100644

[libav-devel] [PATCH 1/2] rv10: verify slice offsets against buffer size

2012-01-23 Thread Janne Grunau
Found by John Villamil jo...@matasano.com in fuzzed rv20 in mkv files. --- libavcodec/rv10.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 1d78c92..0098ff5 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@

[libav-devel] [PATCH 2/2] indeo5: prevent null pointer dereference on broken files

2012-01-23 Thread Janne Grunau
Found by John Villamil jo...@matasano.com --- libavcodec/indeo5.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c index 019fa2b..ec5f204 100644 --- a/libavcodec/indeo5.c +++ b/libavcodec/indeo5.c @@ -453,6 +453,9 @@ static int

[libav-devel] [PATCH 2/2] aacenc: Fix identification padding when the bitstream is already aligned.

2012-01-23 Thread Alex Converse
--- libavcodec/aacenc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index b4045ab..58714e1 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -464,7 +464,7 @@ static void put_bitstream_info(AVCodecContext *avctx,

Re: [libav-devel] [PATCH 1/2] aacenc: Write correct length for long identification strings.

2012-01-23 Thread Nathan Caldwell
On Mon, Jan 23, 2012 at 2:10 PM, Alex Converse alex.conve...@gmail.com wrote: From: Michael Niedermayer michae...@gmx.at When the length is the escape value (15), the new length is calculated by 15 + get_bits(8) - 1. Signed-off-by: Alex Converse alex.conve...@gmail.com ---  

Re: [libav-devel] [PATCH 1/2] rv10: verify slice offsets against buffer size

2012-01-23 Thread Ronald S. Bultje
Hi, On Tue, Jan 24, 2012 at 5:00 AM, Janne Grunau janne-li...@jannau.net wrote: Found by John Villamil jo...@matasano.com in fuzzed rv20 in mkv files. ---  libavcodec/rv10.c |   10 --  1 files changed, 8 insertions(+), 2 deletions(-) [..] +        if (offset buf_size) +            

[libav-devel] [PATCH] Changelog: restore version next header

2012-01-23 Thread Paul B Mahol
--- Changelog |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Changelog b/Changelog index ae092b1..314 100644 --- a/Changelog +++ b/Changelog @@ -1,12 +1,15 @@ Entries are sorted chronologically from oldest to youngest within each release, releases are sorted

Re: [libav-devel] [PATCH 1/2] rv10: verify slice offsets against buffer size

2012-01-23 Thread Janne Grunau
On 2012-01-24 07:20:10 +0800, Ronald S. Bultje wrote: Hi, On Tue, Jan 24, 2012 at 5:00 AM, Janne Grunau janne-li...@jannau.net wrote: Found by John Villamil jo...@matasano.com in fuzzed rv20 in mkv files. ---  libavcodec/rv10.c |   10 --  1 files changed, 8 insertions(+), 2

[libav-devel] [PATCH] aacenc: Fix identification padding when the bitstream is already aligned.

2012-01-23 Thread Alex Converse
--- libavcodec/aacenc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index b4045ab..232ebe9 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -464,7 +464,7 @@ static void put_bitstream_info(AVCodecContext *avctx,

[libav-devel] [PATCH] aacenc: Fix identification padding when the bitstream is already aligned.

2012-01-23 Thread Alex Converse
--- libavcodec/aacenc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index b4045ab..32c8101 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -464,7 +464,7 @@ static void put_bitstream_info(AVCodecContext *avctx,

Re: [libav-devel] [PATCH] aacenc: Fix identification padding when the bitstream is already aligned.

2012-01-23 Thread Måns Rullgård
Alex Converse alex.conve...@gmail.com writes: --- libavcodec/aacenc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index b4045ab..32c8101 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -464,7 +464,7 @@

Re: [libav-devel] [PATCH] aacenc: Fix identification padding when the bitstream is already aligned.

2012-01-23 Thread Alex Converse
2012/1/23 Måns Rullgård m...@mansr.com: Alex Converse alex.conve...@gmail.com writes: ---  libavcodec/aacenc.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index b4045ab..32c8101 100644 --- a/libavcodec/aacenc.c +++

[libav-devel] [PATCH 1/1] rv10: verify slice offsets against buffer size

2012-01-23 Thread Janne Grunau
Hej, On 2012-01-24 07:20:10 +0800, Ronald S. Bultje wrote: On Tue, Jan 24, 2012 at 5:00 AM, Janne Grunau janne-li...@jannau.net wrote: Found by John Villamil jo...@matasano.com in fuzzed rv20 in mkv files. ---  libavcodec/rv10.c |   10 --  1 files changed, 8 insertions(+), 2

[libav-devel] [PATCH 1/1] indeo5: prevent null pointer dereference on broken files

2012-01-23 Thread Janne Grunau
previous patch broke fate-indeo5 since I missed 'if ((band-qdelta_present)' before testing inherit_qdelta Janne ---8--- Found by John Villamil jo...@matasano.com --- libavcodec/indeo5.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/libavcodec/indeo5.c

Re: [libav-devel] [PATCH 1/1] rv10: verify slice offsets against buffer size

2012-01-23 Thread Ronald S. Bultje
Hi, On Tue, Jan 24, 2012 at 9:20 AM, Janne Grunau janne-li...@jannau.net wrote: On 2012-01-24 07:20:10 +0800, Ronald S. Bultje wrote: On Tue, Jan 24, 2012 at 5:00 AM, Janne Grunau janne-li...@jannau.net wrote: Found by John Villamil jo...@matasano.com in fuzzed rv20 in mkv files. ---  

Re: [libav-devel] [PATCH] aacenc: Fix identification padding when the bitstream is already aligned.

2012-01-23 Thread Nathan Caldwell
On Mon, Jan 23, 2012 at 5:38 PM, Alex Converse alex.conve...@gmail.com wrote: ---  libavcodec/aacenc.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index b4045ab..32c8101 100644 --- a/libavcodec/aacenc.c +++

Re: [libav-devel] [PATCH] aacenc: Fix identification padding when the bitstream is already aligned.

2012-01-23 Thread Måns Rullgård
Alex Converse alex.conve...@gmail.com writes: 2012/1/23 Måns Rullgård m...@mansr.com: Alex Converse alex.conve...@gmail.com writes: ---  libavcodec/aacenc.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index

Re: [libav-devel] [libav-commits] XWD encoder and decoder

2012-01-23 Thread Ronald S. Bultje
Hi, On Tue, Jan 24, 2012 at 2:03 AM, Paul B Mahol g...@libav.org wrote: Module: libav Branch: master Commit: 27ed027bcdcb7445ab62d4870a8be3615ffc1e31 Author:    Paul B Mahol one...@gmail.com Committer: Kostya Shishkov kostya.shish...@gmail.com Date:      Sat Jan 21 17:45:52 2012 +

Re: [libav-devel] [PATCH 1/1] indeo5: prevent null pointer dereference on broken files

2012-01-23 Thread Ronald S. Bultje
Hi, On Tue, Jan 24, 2012 at 9:24 AM, Janne Grunau janne-li...@jannau.net wrote: previous patch broke fate-indeo5 since I missed 'if ((band-qdelta_present)' before testing inherit_qdelta Janne ---8--- Found by John Villamil jo...@matasano.com ---  libavcodec/indeo5.c |    4  1 files

[libav-devel] [PATCH 4/5] lavf: postpone removing av_close_input_file().

2012-01-23 Thread Anton Khirnov
It has been deprecated only recently. --- libavformat/version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/version.h b/libavformat/version.h index cd774fb..d50b2a5 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -120,7 +120,7 @@

[libav-devel] [PATCH 3/5] lavc: postpone removing old audio encoding and decoding API

2012-01-23 Thread Anton Khirnov
It has been deprecated only recently. --- libavcodec/version.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 77e1682..1de790e 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -114,13 +114,13 @@ #define

[libav-devel] [PATCH 2/5] avplay: remove the -er option.

2012-01-23 Thread Anton Khirnov
Error recognition flags can and should be set directly with AVOptions. --- avplay.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/avplay.c b/avplay.c index 432afc1..27ac01a 100644 --- a/avplay.c +++ b/avplay.c @@ -251,7 +251,6 @@ static int idct = FF_IDCT_AUTO;

[libav-devel] [PATCH 5/5] lavc: postpone the removal of AVCodecContext.request_channels.

2012-01-23 Thread Anton Khirnov
Although it has been deprecated for a long time, its intended replacement (request_channel_layout) is not actually used anywhere, so request_channels is currently the only way to access that functionality. --- libavcodec/version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[libav-devel] [PATCH 1/5] lavd: remove deprecated v4l grab device.

2012-01-23 Thread Anton Khirnov
--- configure|2 - libavdevice/Makefile |1 - libavdevice/alldevices.c |3 - libavdevice/avdevice.h |4 - libavdevice/v4l.c| 366 -- 5 files changed, 0 insertions(+), 376 deletions(-) delete mode 100644

Re: [libav-devel] [PATCH] Changelog: restore version next header

2012-01-23 Thread Ronald S. Bultje
Hi, On Tue, Jan 24, 2012 at 7:28 AM, Paul B Mahol one...@gmail.com wrote: ---  Changelog |    5 -  1 files changed, 4 insertions(+), 1 deletions(-) Pushed, thank you. Ronald ___ libav-devel mailing list libav-devel@libav.org