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

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

[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 lib

[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; static

[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 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 @@ #define

[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

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 wrote: > previous patch broke fate-indeo5 since I missed > 'if ((band->qdelta_present)' before testing inherit_qdelta > > Janne > ---8<--- > Found by John Villamil > --- >  libavcodec/indeo5.c |    4 >  1 files changed, 4 insertions(+), 0 de

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 wrote: > Module: libav > Branch: master > Commit: 27ed027bcdcb7445ab62d4870a8be3615ffc1e31 > > Author:    Paul B Mahol > Committer: Kostya Shishkov > Date:      Sat Jan 21 17:45:52 2012 + > > XWD encoder and decoder Paul, are you interested

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

2012-01-23 Thread Måns Rullgård
Alex Converse writes: > 2012/1/23 Måns Rullgård : >> Alex Converse 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/aac

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 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 > +++ b/libavcodec/aacenc.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 wrote: > On 2012-01-24 07:20:10 +0800, Ronald S. Bultje wrote: >> >> On Tue, Jan 24, 2012 at 5:00 AM, Janne Grunau wrote: >> > Found by John Villamil in fuzzed rv20 in mkv files. >> > --- >> >  libavcodec/rv10.c |   10 -- >> >  1 files c

[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 --- libavcodec/indeo5.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c index 019

[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 wrote: > > Found by John Villamil in fuzzed rv20 in mkv files. > > --- > >  libavcodec/rv10.c |   10 -- > >  1 files changed, 8 insertions(+), 2 deletions(-) > [..] > > +        i

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 : > Alex Converse 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

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

2012-01-23 Thread Måns Rullgård
Alex Converse 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 @@ static void put

[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, A

[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, A

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 wrote: > > Found by John Villamil in fuzzed rv20 in mkv files. > > --- > >  libavcodec/rv10.c |   10 -- > >  1 files changed, 8 insertions(+), 2 deletions(-) > [..] > > +        

[libav-devel] [PATCH] Changelog: restore version 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 fro

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 wrote: > Found by John Villamil in fuzzed rv20 in mkv files. > --- >  libavcodec/rv10.c |   10 -- >  1 files changed, 8 insertions(+), 2 deletions(-) [..] > +        if (offset > buf_size) > +            return AVERROR_INVALIDDATA; Shoul

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 wrote: > From: Michael Niedermayer > > When the length is the escape value (15), the new length is calculated by > 15 + get_bits(8) - 1. > > Signed-off-by: Alex Converse > --- >  libavcodec/aacenc.c |    2 +- >  1 files changed, 1 insertions(+), 1 d

[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, A

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

2012-01-23 Thread Alex Converse
From: Michael Niedermayer When the length is the escape value (15), the new length is calculated by 15 + get_bits(8) - 1. Signed-off-by: Alex Converse --- libavcodec/aacenc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c ind

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

2012-01-23 Thread Janne Grunau
Found by John Villamil 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 @@ -647,8 +647,11 @@ stat

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

2012-01-23 Thread Janne Grunau
Found by John Villamil --- 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 decode_mb_info(IVI5D

[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 lib

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 Committer: Kostya Shishkov Date: Sat Jan 21 17:45:52 2012 + XWD encoder and decoder Signed-off-by: Kostya Shishkov --- Changelog

[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 a/libav

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 > > To: libav development > > Cc: > > Sent: Sunday, January 22, 2012 1:20 AM > > Subject: [libav-devel] [PATCH 1/2] vc1: don't read the interpfrm and > > bfractio

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 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 APIs. IMO it

[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] [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 C

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 https://lists.libav.org/mailm

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 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 == pSeqParams->RefDistFlag) > {

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 > To: libav development > 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 inconsistency in the VC-1 interl

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 > To: libav development > 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 patch fixes a small error in the

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

2012-01-23 Thread Måns Rullgård
Diego Biurrun writes: > On Sat, Jan 21, 2012 at 06:28:33PM +, Måns Rullgård wrote: >> Diego Biurrun 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

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

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

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 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ö w

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

2012-01-23 Thread Christophe Gisquet
Hi, 2012/1/21 Vitor Sessak : > 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 in working on it.

[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 ++-

[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 100644

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 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 CONF

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 >