Re: [libav-devel] [PATCH 2/2] avplay: support mid-stream sample rate changes

2012-10-11 Thread Anton Khirnov
On Mon, 8 Oct 2012 00:04:22 -0400, Justin Ruggles wrote: > Resample to the rate that was configured in SDL. > --- > avplay.c | 35 +-- > 1 files changed, 21 insertions(+), 14 deletions(-) > > diff --git a/avplay.c b/avplay.c > index 9985c1d..3e5456f 100644 >

Re: [libav-devel] [PATCH 1/2] avplay: use audio parameters from the decoded frame instead of AVCodecContext

2012-10-11 Thread Anton Khirnov
On Mon, 8 Oct 2012 00:04:21 -0400, Justin Ruggles wrote: > --- > avplay.c | 20 ++-- > 1 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/avplay.c b/avplay.c > index b1f2598..9985c1d 100644 > --- a/avplay.c > +++ b/avplay.c > @@ -1909,13 +1909,13 @@ static i

[libav-devel] [PATCH] mov: Do not apply dts shift from edit lists coming from data tracks.

2012-10-11 Thread Alex Converse
Some files in the wild have time code tracks with very negative initial offsets. --- libavformat/mov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 63049f5..2a41dd5 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1

[libav-devel] [PATCH] nut: support high depth pcm codecs

2012-10-11 Thread Luca Barbato
Give priority to the native tags when encoding. Update fate refs due the change of tags in use. --- Made sure fate remains green. libavformat/nut.c| 20 +++ libavformat/nut.h| 1 + libavformat/nutdec.c | 9 +++- libavformat/nutenc.c

Re: [libav-devel] [PATCH] avutil: add yuva422p and yuva444p formats

2012-10-11 Thread Luca Barbato
On 10/12/2012 01:24 AM, Janne Grunau wrote: > On 2012-10-12 01:08:10 +0200, Luca Barbato wrote: >> --- >> >> One hunk ended up in the ffv1.3 patch... >> >> libavcodec/utils.c| 2 ++ >> libavutil/pixdesc.c | 26 ++ >> libavutil/pixfmt.h| 2

Re: [libav-devel] [PATCH] nut: cosmetic

2012-10-11 Thread Janne Grunau
On 2012-10-12 01:25:35 +0200, Luca Barbato wrote: > Align the tags in ff_nut_audio_tags. > --- > libavformat/nut.c | 46 +++--- > 1 file changed, 23 insertions(+), 23 deletions(-) ok I guess Janne ___ libav-devel

Re: [libav-devel] [PATCH] avutil: add yuva422p and yuva444p formats

2012-10-11 Thread Janne Grunau
On 2012-10-12 01:08:10 +0200, Luca Barbato wrote: > --- > > One hunk ended up in the ffv1.3 patch... > > libavcodec/utils.c| 2 ++ > libavutil/pixdesc.c | 26 ++ > libavutil/pixfmt.h| 2 ++ > libswscale/utils.c| 2 ++ > tes

[libav-devel] [PATCH] nut: cosmetic

2012-10-11 Thread Luca Barbato
Align the tags in ff_nut_audio_tags. --- libavformat/nut.c | 46 +++--- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/libavformat/nut.c b/libavformat/nut.c index cf63fc9..57bc017 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -90

Re: [libav-devel] [PATCH 3/3] nut: pcm planar support

2012-10-11 Thread Janne Grunau
On 2012-10-12 01:01:16 +0200, Luca Barbato wrote: > --- > doc/nut.texi | 2 +- > libavformat/nut.c | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/doc/nut.texi b/doc/nut.texi > index dafbb39..1c23934 100644 > --- a/doc/nut.texi > +++ b/doc/nut.texi > @@ -50,7 +50,7

Re: [libav-devel] [PATCH 2/3] nut: support float PCM

2012-10-11 Thread Janne Grunau
On 2012-10-12 01:01:15 +0200, Luca Barbato wrote: > --- > libavformat/nut.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavformat/nut.c b/libavformat/nut.c > index 0e866da..72b7575 100644 > --- a/libavformat/nut.c > +++ b/libavformat/nut.c > @@ -92,6 +92,10 @@ const AVCodecTag

[libav-devel] [PATCH] avutil: add yuva422p and yuva444p formats

2012-10-11 Thread Luca Barbato
--- One hunk ended up in the ffv1.3 patch... libavcodec/utils.c| 2 ++ libavutil/pixdesc.c | 26 ++ libavutil/pixfmt.h| 2 ++ libswscale/utils.c| 2 ++ tests/ref/lavfi/pixdesc | 2 ++ tests/ref/lavfi/pixfmts_copy |

Re: [libav-devel] [PATCH] avutil: add yuva422p and yuva444p formats

2012-10-11 Thread Luca Barbato
On 10/12/2012 12:46 AM, Janne Grunau wrote: > On 2012-10-12 00:21:18 +0200, Luca Barbato wrote: >> --- >> >> Rebased, if nobody is against it I'd push it >> >> libavcodec/utils.c| 2 ++ >> libavutil/pixdesc.c | 26 ++ >> libswscale/utils.c

[libav-devel] [PATCH 3/3] nut: pcm planar support

2012-10-11 Thread Luca Barbato
--- doc/nut.texi | 2 +- libavformat/nut.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/nut.texi b/doc/nut.texi index dafbb39..1c23934 100644 --- a/doc/nut.texi +++ b/doc/nut.texi @@ -50,7 +50,7 @@ to be read big-endian. @end multitable is S for signed intege

[libav-devel] [PATCH 2/3] nut: support float PCM

2012-10-11 Thread Luca Barbato
--- libavformat/nut.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/nut.c b/libavformat/nut.c index 0e866da..72b7575 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -92,6 +92,10 @@ const AVCodecTag ff_nut_video_tags[] = { const AVCodecTag ff_nut_audio_tags[] = {

[libav-devel] [PATCH 1/3] nut: support high depth pcm codecs

2012-10-11 Thread Luca Barbato
Give priority to the native tags when encoding. --- libavformat/nut.c| 20 libavformat/nut.h| 1 + libavformat/nutdec.c | 9 +++-- libavformat/nutenc.c | 20 ++-- 4 files changed, 42 insertions(+), 8 deletions(-) diff --git a/libavformat/nut.c b/

[libav-devel] Improve PCM support in nut

2012-10-11 Thread Luca Barbato
Here is the patch broken in 3, I'd squash it if is ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] avutil: add yuva422p and yuva444p formats

2012-10-11 Thread Janne Grunau
On 2012-10-12 00:21:18 +0200, Luca Barbato wrote: > --- > > Rebased, if nobody is against it I'd push it > > libavcodec/utils.c| 2 ++ > libavutil/pixdesc.c | 26 ++ > libswscale/utils.c| 2 ++ > tests/ref/lavfi/pixdesc | 2 ++ >

Re: [libav-devel] [PATCH] nut: support high depth pcm codecs

2012-10-11 Thread Janne Grunau
On 2012-10-11 14:39:14 +0200, Luca Barbato wrote: > Give priority to the native tags when encoding. > --- > libavformat/nut.c| 20 > libavformat/nut.h| 1 + > libavformat/nutdec.c | 9 +++-- > libavformat/nutenc.c | 20 ++-- > 4 files changed, 42

Re: [libav-devel] FFv1.3 support

2012-10-11 Thread Luca Barbato
On 10/05/2012 05:31 PM, Peter B. wrote: > On 10/01/2012 05:30 PM, Luca Barbato wrote: >> I'm rebasing old patches supporting some pixel formats and possibly >> I'll have a look at ffv1 to see what really changed. > In order to avoid misunderstandings, I wanted to ask if you are trying > to merge th

[libav-devel] [PATCH] avutil: add yuva422p and yuva444p formats

2012-10-11 Thread Luca Barbato
--- Rebased, if nobody is against it I'd push it libavcodec/utils.c| 2 ++ libavutil/pixdesc.c | 26 ++ libswscale/utils.c| 2 ++ tests/ref/lavfi/pixdesc | 2 ++ tests/ref/lavfi/pixfmts_copy | 2 ++ tests/ref/lavfi/pixfmts_null

Re: [libav-devel] [PATCH 1/3] mpegvideo: remove write-only variable

2012-10-11 Thread Martin Storsjö
On Thu, 11 Oct 2012, Mans Rullgard wrote: Signed-off-by: Mans Rullgard --- libavcodec/mpegvideo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index f739c2d..a0ec3dc 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mp

Re: [libav-devel] [PATCH 2/3] smjpeg: fix type of 'ret' variable in smjpeg_read_packet()

2012-10-11 Thread Martin Storsjö
On Thu, 11 Oct 2012, Mans Rullgard wrote: The 'ret' variable is used for negative error codes so it should be a signed type. Signed-off-by: Mans Rullgard --- libavformat/smjpegdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/smjpegdec.c b/libavformat/smjpe

Re: [libav-devel] [PATCH 3/3] rtpdec_xiph: fix function return type

2012-10-11 Thread Martin Storsjö
On Thu, 11 Oct 2012, Mans Rullgard wrote: parse_packed_headers() returns either zero or a negative error code so its return type must be signed. Signed-off-by: Mans Rullgard --- libavformat/rtpdec_xiph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpdec_xiph

[libav-devel] [PATCH 1/3] mpegvideo: remove write-only variable

2012-10-11 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- libavcodec/mpegvideo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index f739c2d..a0ec3dc 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -828,7 +828,7 @@ fail: */ a

[libav-devel] [PATCH 2/3] smjpeg: fix type of 'ret' variable in smjpeg_read_packet()

2012-10-11 Thread Mans Rullgard
The 'ret' variable is used for negative error codes so it should be a signed type. Signed-off-by: Mans Rullgard --- libavformat/smjpegdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/smjpegdec.c b/libavformat/smjpegdec.c index 7764c0f..4cbfa2a 100644 --- a/

[libav-devel] [PATCH 3/3] rtpdec_xiph: fix function return type

2012-10-11 Thread Mans Rullgard
parse_packed_headers() returns either zero or a negative error code so its return type must be signed. Signed-off-by: Mans Rullgard --- libavformat/rtpdec_xiph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index dc739e

Re: [libav-devel] [PATCH] Move av_reverse table to libavcodec; it is only used there.

2012-10-11 Thread Martin Storsjö
On Thu, 11 Oct 2012, Diego Biurrun wrote: --- Now w/o accidentally renaming the copy in libavutil... libavcodec/asvdec.c |7 --- libavcodec/asvenc.c |7 --- libavcodec/bitstream.c |9 + libavcodec/indeo2.c |6 -- libavcodec/ivi_common.c |7 --

Re: [libav-devel] [PATCH 9/9] lavu, lavd: do not use av_pix_fmt_descriptors directly.

2012-10-11 Thread Martin Storsjö
On Sat, 6 Oct 2012, Anton Khirnov wrote: --- libavdevice/fbdev.c |2 +- libavutil/imgutils.c | 24 +++- 2 files changed, 16 insertions(+), 10 deletions(-) LGTM // Martin ___ libav-devel mailing list libav-devel@libav.org htt

Re: [libav-devel] [PATCH 7/9] lavc: do not use av_pix_fmt_descriptors directly.

2012-10-11 Thread Martin Storsjö
On Sat, 6 Oct 2012, Anton Khirnov wrote: --- libavcodec/imgconvert.c | 30 ++ libavcodec/libopenjpegdec.c | 34 ++ libavcodec/libopenjpegenc.c | 13 ++--- libavcodec/mpegvideo.c | 10 ++ libavcodec/rawdec.c

Re: [libav-devel] [PATCH] dca: allocate a secondary buffer for extra channels when downmixing

2012-10-11 Thread Justin Ruggles
On 10/11/2012 02:27 PM, Måns Rullgård wrote: > Justin Ruggles writes: > >> The output AVFrame buffer only has data for the downmix channels. >> Fixes a segfault when decoding dca with request_channels == 2. > > What happened to the plans to kill the builtin downmix in dca and export > the coeffs

Re: [libav-devel] [PATCH] dca: allocate a secondary buffer for extra channels when downmixing

2012-10-11 Thread Måns Rullgård
Justin Ruggles writes: > The output AVFrame buffer only has data for the downmix channels. > Fixes a segfault when decoding dca with request_channels == 2. What happened to the plans to kill the builtin downmix in dca and export the coeffs instead? -- Måns Rullgård m...@mansr.com _

Re: [libav-devel] [PATCH] dca: allocate a secondary buffer for extra channels when downmixing

2012-10-11 Thread Kostya Shishkov
On Thu, Oct 11, 2012 at 02:25:15PM -0400, Justin Ruggles wrote: > The output AVFrame buffer only has data for the downmix channels. > Fixes a segfault when decoding dca with request_channels == 2. > --- > libavcodec/dcadec.c | 32 ++-- > 1 files changed, 30 insertions

Re: [libav-devel] [PATCH] build: add support for Tru64 (OSF/1)

2012-10-11 Thread Kostya Shishkov
On Thu, Oct 11, 2012 at 07:07:01PM +0100, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > configure | 4 > 1 file changed, 4 insertions(+) > > diff --git a/configure b/configure > index a782009..161033b 100755 > --- a/configure > +++ b/configure > @@ -2884,6 +2884,10 @@ case $ta

[libav-devel] [PATCH] dca: allocate a secondary buffer for extra channels when downmixing

2012-10-11 Thread Justin Ruggles
The output AVFrame buffer only has data for the downmix channels. Fixes a segfault when decoding dca with request_channels == 2. --- libavcodec/dcadec.c | 32 ++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.

[libav-devel] [PATCH] build: add support for Tru64 (OSF/1)

2012-10-11 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- configure | 4 1 file changed, 4 insertions(+) diff --git a/configure b/configure index a782009..161033b 100755 --- a/configure +++ b/configure @@ -2884,6 +2884,10 @@ case $target_os in -l:drtaeabi.dso -l:scppnwdl.dso -lsupc++ -lgcc \

Re: [libav-devel] [PATCH] vc1: Use codec ID from AVCodecContext while parsing frame header

2012-10-11 Thread Kostya Shishkov
On Thu, Oct 11, 2012 at 01:13:56PM -0400, Mashiat Sarker Shakkhar wrote: > This fixes a segfault with samples that I have (both of them MPEG-TS). Looks > like > avctx->codec is not being set during parsing. > --- > libavcodec/vc1.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > d

Re: [libav-devel] [PATCH 2/3] svq3: fix pointer type warning

2012-10-11 Thread Kostya Shishkov
On Thu, Oct 11, 2012 at 06:04:59PM +0100, Mans Rullgard wrote: > Fixes: > libavcodec/svq3.c:661:9: warning: passing argument 2 of 'svq3_decode_block' > from incompatible pointer type > libavcodec/svq3.c:208:19: note: expected 'DCTELEM *' but argument is of type > 'DCTELEM (*)[32]' > > Signed-off

Re: [libav-devel] [PATCH 1/3] svq3: replace unsafe pointer casting with intreadwrite macros

2012-10-11 Thread Kostya Shishkov
On Thu, Oct 11, 2012 at 06:04:58PM +0100, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > libavcodec/svq3.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) LGTM ___ libav-devel mailing list libav-devel@libav.org htt

[libav-devel] [PATCH] vc1: Use codec ID from AVCodecContext while parsing frame header

2012-10-11 Thread Mashiat Sarker Shakkhar
This fixes a segfault with samples that I have (both of them MPEG-TS). Looks like avctx->codec is not being set during parsing. --- libavcodec/vc1.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index c7edc25..a8dd38a 100644 --- a/libav

Re: [libav-devel] [PATCH 3/3] svq3: fix indentation in svq3_decode_slice_header()

2012-10-11 Thread Måns Rullgård
Diego Biurrun writes: > On Thu, Oct 11, 2012 at 06:05:00PM +0100, Mans Rullgard wrote: >> Signed-off-by: Mans Rullgard >> --- >> libavcodec/svq3.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Don't bother, this file is on schedule to receive a makeover. I was looking at that fu

Re: [libav-devel] [PATCH 3/3] svq3: fix indentation in svq3_decode_slice_header()

2012-10-11 Thread Diego Biurrun
On Thu, Oct 11, 2012 at 06:05:00PM +0100, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > libavcodec/svq3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Don't bother, this file is on schedule to receive a makeover. Diego ___ lib

[libav-devel] [PATCH 1/3] svq3: replace unsafe pointer casting with intreadwrite macros

2012-10-11 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- libavcodec/svq3.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index c4d5a1b..6099e77 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -409,17 +409,17 @@ static inline int svq3_

[libav-devel] [PATCH 3/3] svq3: fix indentation in svq3_decode_slice_header()

2012-10-11 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- libavcodec/svq3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index bc1a77a..4652b5c 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -738,7 +738,7 @@ static int svq3_decode_slice_header(AVCode

[libav-devel] [PATCH 2/3] svq3: fix pointer type warning

2012-10-11 Thread Mans Rullgard
Fixes: libavcodec/svq3.c:661:9: warning: passing argument 2 of 'svq3_decode_block' from incompatible pointer type libavcodec/svq3.c:208:19: note: expected 'DCTELEM *' but argument is of type 'DCTELEM (*)[32]' Signed-off-by: Mans Rullgard --- libavcodec/svq3.c | 2 +- 1 file changed, 1 insertio

[libav-devel] [PATCH] Move av_reverse table to libavcodec; it is only used there.

2012-10-11 Thread Diego Biurrun
--- Now w/o accidentally renaming the copy in libavutil... libavcodec/asvdec.c |7 --- libavcodec/asvenc.c |7 --- libavcodec/bitstream.c |9 + libavcodec/indeo2.c |6 -- libavcodec/ivi_common.c |7 --- libavcodec/mathops.h|1 + lib

Re: [libav-devel] [PATCH] Move av_reverse table to libavcodec; it is only used there.

2012-10-11 Thread Diego Biurrun
On Thu, Oct 11, 2012 at 07:56:26PM +0300, Martin Storsjö wrote: > On Thu, 11 Oct 2012, Diego Biurrun wrote: > > >--- > >I have duplicated the table with an ff_ prefix and marked it as to > >be removed on the next libavutil bump. Alternatively, one could > >play tricks with the preprocessor and av

Re: [libav-devel] [PATCH] Move av_reverse table to libavcodec; it is only used there.

2012-10-11 Thread Martin Storsjö
On Thu, 11 Oct 2012, Diego Biurrun wrote: --- I have duplicated the table with an ff_ prefix and marked it as to be removed on the next libavutil bump. Alternatively, one could play tricks with the preprocessor and avoid the source-level duplication, but I thought this was not worth the trouble

[libav-devel] [PATCH] Move av_reverse table to libavcodec; it is only used there.

2012-10-11 Thread Diego Biurrun
--- I have duplicated the table with an ff_ prefix and marked it as to be removed on the next libavutil bump. Alternatively, one could play tricks with the preprocessor and avoid the source-level duplication, but I thought this was not worth the trouble. libavcodec/asvdec.c |7 --- l

Re: [libav-devel] [PATCH 1/1] prepare 9_beta1 release

2012-10-11 Thread Diego Biurrun
On Thu, Oct 11, 2012 at 11:51:15AM +0200, Janne Grunau wrote: > --- > Changelog | 3 +++ > RELEASE | 2 +- > 2 files changed, 4 insertions(+), 1 deletion(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/l

[libav-devel] [PATCH] Remove libmpeg2 #define remnants

2012-10-11 Thread Diego Biurrun
--- libavcodec/avcodec.h |2 ++ libavcodec/version.h |3 +++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 223db9c..32a7dcb 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2620,7 +2620,9 @@ typedef struct A

Re: [libav-devel] [PATCH] avcodec: Remove broken MMI optimizations

2012-10-11 Thread Måns Rullgård
Diego Biurrun writes: > The code fails to compile and is broken beyond repair. > --- > Removed file content deleted from the diff to avoid patch spam. > > Makefile|2 +- > arch.mak|2 - > configure |8 - > libavcod

Re: [libav-devel] [PATCH] avcodec: Remove broken MMI optimizations

2012-10-11 Thread Kostya Shishkov
On Thu, Oct 11, 2012 at 04:51:08PM +0200, Diego Biurrun wrote: > The code fails to compile and is broken beyond repair. > --- > Removed file content deleted from the diff to avoid patch spam. > > Makefile|2 +- > arch.mak|2 - > configure

[libav-devel] [PATCH] avcodec: Remove broken MMI optimizations

2012-10-11 Thread Diego Biurrun
The code fails to compile and is broken beyond repair. --- Removed file content deleted from the diff to avoid patch spam. Makefile|2 +- arch.mak|2 - configure |8 - libavcodec/avcodec.h|2 + libav

Re: [libav-devel] [PATCH 1/2] parseutils: fix const removal warning

2012-10-11 Thread Martin Storsjö
On Thu, 11 Oct 2012, Mans Rullgard wrote: The const qualifier is still removed although it happens inside the strtol() function so no warning is generated. Fixes: libavutil/parseutils.c:110:11: warning: assignment discards qualifiers from pointer target type Signed-off-by: Mans Rullgard ---

Re: [libav-devel] [PATCH 1/3] avutil: Add functions for allocating opaque contexts for algorithms

2012-10-11 Thread Luca Barbato
On 10/11/2012 03:19 PM, Martin Storsjö wrote: > The current API where the plain size is exposed is not of much > use - in most cases it is allocated dynamically anyway. > The set looks fine. lu ___ libav-devel mailing list libav-devel@libav.org https:

Re: [libav-devel] [PATCH 2/2] parseutils-test: various cleanups

2012-10-11 Thread Luca Barbato
On 10/11/2012 03:15 PM, Mans Rullgard wrote: > - make tables static const > - remove useless use of compound literal > - break long lines > - fix a comma/semicolon typo > Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/ma

[libav-devel] [PATCH 3/3] md5: Allocate a normal private context for the opaque md5 context pointer

2012-10-11 Thread Martin Storsjö
This avoids having to overestimate the md5 context size, which isn't known beforehand, allowing us to use the new allocate functions instead. --- libavformat/md5enc.c | 55 +--- libavformat/md5proto.c | 24 + 2 files changed, 53

[libav-devel] [PATCH 2/3] Use the new aes/md5/sha/tree allocation functions

2012-10-11 Thread Martin Storsjö
--- libavcodec/flacenc.c|2 +- libavformat/crypto.c|2 +- libavformat/httpauth.c |2 +- libavformat/mxfdec.c|2 +- libavformat/nut.c |2 +- libavformat/rtmpproto.c |2 +- libavutil/tree.c|2 +- 7 files changed, 7 insertions(+), 7 deletions(-)

[libav-devel] [PATCH 1/3] avutil: Add functions for allocating opaque contexts for algorithms

2012-10-11 Thread Martin Storsjö
The current API where the plain size is exposed is not of much use - in most cases it is allocated dynamically anyway. If allocated e.g. on the stack via an uint8_t array, there's no guarantee that the struct's members are aligned properly (unless the array is overallocated and the opaque pointer

[libav-devel] [PATCH 1/2] parseutils: fix const removal warning

2012-10-11 Thread Mans Rullgard
The const qualifier is still removed although it happens inside the strtol() function so no warning is generated. Fixes: libavutil/parseutils.c:110:11: warning: assignment discards qualifiers from pointer target type Signed-off-by: Mans Rullgard --- libavutil/parseutils.c | 3 +-- 1 file chang

[libav-devel] [PATCH 2/2] parseutils-test: various cleanups

2012-10-11 Thread Mans Rullgard
- make tables static const - remove useless use of compound literal - break long lines - fix a comma/semicolon typo Signed-off-by: Mans Rullgard --- libavutil/parseutils.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavutil/parseutils.c b/libavutil/parseutil

Re: [libav-devel] [PATCH] Move avutil tables only used in libavcodec to libavcodec.

2012-10-11 Thread Martin Storsjö
On Thu, 11 Oct 2012, Diego Biurrun wrote: --- Fixed placement of extern table declarations (for arm), they need to come before the arch-specific headers, as they are referenced there. libavcodec/Makefile|7 + libavcodec/arm/mathops.h |

[libav-devel] [PATCH] nut: support high depth pcm codecs

2012-10-11 Thread Luca Barbato
Give priority to the native tags when encoding. --- libavformat/nut.c| 20 libavformat/nut.h| 1 + libavformat/nutdec.c | 9 +++-- libavformat/nutenc.c | 20 ++-- 4 files changed, 42 insertions(+), 8 deletions(-) diff --git a/libavformat/nut.c b/

Re: [libav-devel] [PATCH] Drop Snow codec

2012-10-11 Thread Luca Barbato
On 10/07/2012 10:56 PM, Diego Biurrun wrote: > Snow is a toy codec with no real-world use and horrible code. > --- > Updated to also drop the DWT code, which is completely Snow-specific > and cannot be shared with Dirac. Plus drop some Snow-specific parts > from dsputil. Looks fine to me. commit

Re: [libav-devel] [PATCH] random_seed: Support using CryptGenRandom on windows

2012-10-11 Thread Måns Rullgård
Martin Storsjö writes: > --- > configure |2 ++ > libavutil/random_seed.c | 14 ++ > 2 files changed, 16 insertions(+) > > diff --git a/configure b/configure > index 17f38ec..67f88eb 100755 > --- a/configure > +++ b/configure > @@ -1139,6 +1139,7 @@ HAVE_LIST=" >

[libav-devel] [PATCH] random_seed: Support using CryptGenRandom on windows

2012-10-11 Thread Martin Storsjö
--- configure |2 ++ libavutil/random_seed.c | 14 ++ 2 files changed, 16 insertions(+) diff --git a/configure b/configure index 17f38ec..67f88eb 100755 --- a/configure +++ b/configure @@ -1139,6 +1139,7 @@ HAVE_LIST=" closesocket cmov cpunop +Cr

Re: [libav-devel] [PATCH] Drop Snow codec

2012-10-11 Thread Luca Barbato
On 09/24/2012 07:05 PM, Diego Biurrun wrote: > So I guess it's time to drop Snow. Jordi is moving code around for Dirac > that will end up getting deleted. Let's not have him do that. Attached > is a patch that excises Snow; note the sexy diffstat. Dirac is having a stand-alone dwt.c in the bra

Re: [libav-devel] [PATCH] mlpdsp: adding missing file

2012-10-11 Thread Diego Biurrun
On Thu, Oct 11, 2012 at 12:35:03PM +0200, Luca Barbato wrote: > --- > libavcodec/mlpdsp.h | 37 + > 1 file changed, 37 insertions(+) > create mode 100644 libavcodec/mlpdsp.h OK Diego ___ libav-devel mailing list lib

Re: [libav-devel] [PATCH] mlpdsp: adding missing file

2012-10-11 Thread Kostya Shishkov
On Thu, Oct 11, 2012 at 12:35:03PM +0200, Luca Barbato wrote: > --- > libavcodec/mlpdsp.h | 37 + > 1 file changed, 37 insertions(+) > create mode 100644 libavcodec/mlpdsp.h > > diff --git a/libavcodec/mlpdsp.h b/libavcodec/mlpdsp.h > new file mode 100644 > in

[libav-devel] [PATCH] mlpdsp: adding missing file

2012-10-11 Thread Luca Barbato
--- libavcodec/mlpdsp.h | 37 + 1 file changed, 37 insertions(+) create mode 100644 libavcodec/mlpdsp.h diff --git a/libavcodec/mlpdsp.h b/libavcodec/mlpdsp.h new file mode 100644 index 000..995f72a --- /dev/null +++ b/libavcodec/mlpdsp.h @@ -0,0 +1,37 @@

Re: [libav-devel] [PATCH 3/4] indeo4/5: remove constant parameter num_bands from wavelet recomposition

2012-10-11 Thread Maxim
Am 10.10.2012 19:57, schrieb Janne Grunau: > Fixes bogus uninitialized value compiler and coverity warnings. > --- > libavcodec/ivi_common.c | 4 ++-- > libavcodec/ivi_dsp.c| 5 +++-- > libavcodec/ivi_dsp.h| 6 ++ > 3 files changed, 7 insertions(+), 8 deletions(-) > > diff --git a/liba

[libav-devel] [PATCH 1/1] prepare 9_beta1 release

2012-10-11 Thread Janne Grunau
On 2012-10-10 19:44:00 -0400, Sean McGovern wrote: > On Wed, Oct 10, 2012 at 7:19 PM, Reinhard Tartler wrote: > > Oh, ich it's really only signing the tarball, then i might find some time > > tomorrow night. But Diego should be able for that as well. I can sign the tarballs too if we can live wit