[libav-devel] respecting AVFMT_FLAG_NONBLOCK in AVIO

2011-05-01 Thread aviad rozenhek
currently, av_open_input_file() opens protocols without the AVIO_FLAG_NONBLOCK flag. I suggest that av_open_input_file() respect the AVFMT_FLAG_NONBLOCK flag by calling avio_open() with AVIO_FLAG_NONBLOCK flag whenever AVFMT_FLAG_NONBLOCK is set. specifically (from libavformat/utils.c) : if

[libav-devel] [PATCH] Add missing CONFIG_AVFILTER check.

2011-05-01 Thread Takashi Mochizuki
Fix configure --disable-avfilter issue. --- ffmpeg.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 050fa98..ed0dc34 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2795,9 +2795,11 @@ static void opt_frame_aspect_ratio(const char *arg) }

Re: [libav-devel] [PATCH 4/4] get_bits: make cache unsigned to eliminate undefined signed overflow.

2011-05-01 Thread Måns Rullgård
Aℓex Converse aconve...@google.com writes: From 859f6de86ee7359942a9aece8d92eea141d421d0 Mon Sep 17 00:00:00 2001 From: Alex Converse aconve...@google.com Date: Tue, 26 Apr 2011 09:09:05 -0700 Subject: [PATCH 4/4] get_bits: make cache unsigned to eliminate undefined signed overflow.

[libav-devel] [PATCH 1/3] DPX decoder: add buffer size checks.

2011-05-01 Thread Reinhard Tartler
From: Reimar Döffinger reimar.doeffin...@gmx.de --- libavcodec/dpx.c | 19 ++- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index 36a4a39..82891d6 100644 --- a/libavcodec/dpx.c +++ b/libavcodec/dpx.c @@ -68,6 +68,11 @@

[libav-devel] [PATCH 2/3] DPX decoder: read sample aspect ratio

2011-05-01 Thread Reinhard Tartler
From: Peter Ross pr...@xvid.org Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/dpx.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index 82891d6..0722dd0 100644 --- a/libavcodec/dpx.c +++ b/libavcodec/dpx.c

[libav-devel] [PATCH 3/3] DPX image encoder

2011-05-01 Thread Reinhard Tartler
From: Peter Ross pr...@xvid.org Note: I have squashed the relevant dpxenc.c commits from FFmpeg into this one --- Changelog |1 + doc/general.texi |2 +- libavcodec/Makefile|1 + libavcodec/allcodecs.c |2 +- libavcodec/dpxenc.c| 176

Re: [libav-devel] respecting AVFMT_FLAG_NONBLOCK in AVIO

2011-05-01 Thread Ronald S. Bultje
Hi, On Sun, May 1, 2011 at 3:35 AM, Luca Barbato lu_z...@gentoo.org wrote: On 5/1/11 9:54 AM, aviad rozenhek wrote: currently, av_open_input_file() opens protocols without the AVIO_FLAG_NONBLOCK flag. I suggest that av_open_input_file() respect the AVFMT_FLAG_NONBLOCK flag by calling

Re: [libav-devel] [PATCH] update url to fate samples

2011-05-01 Thread Reinhard Tartler
1;2305;0cOn Sun, May 01, 2011 at 06:03:51AM -0700, Ronald S. Bultje wrote: Hi, On Sun, May 1, 2011 at 5:34 AM, Reinhard Tartler siret...@tauware.de wrote: ---  doc/fate.txt |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/fate.txt b/doc/fate.txt index

Re: [libav-devel] respecting AVFMT_FLAG_NONBLOCK in AVIO

2011-05-01 Thread aviad rozenhek
On Sun, May 1, 2011 at 16:04, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Sun, May 1, 2011 at 3:35 AM, Luca Barbato lu_z...@gentoo.org wrote: On 5/1/11 9:54 AM, aviad rozenhek wrote: currently, av_open_input_file() opens protocols without the AVIO_FLAG_NONBLOCK flag. I suggest

[libav-devel] [PATCH] Implement fate-rsync target

2011-05-01 Thread Reinhard Tartler
--- Makefile |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 0849443..e453b7a 100644 --- a/Makefile +++ b/Makefile @@ -290,4 +290,11 @@ $(FATE): ffmpeg$(EXESUF) $(FATE_UTILS:%=tests/%$(HOSTEXESUF)) fate-list: @printf '%s\n' $(sort

[libav-devel] Libav 0.6.3

2011-05-01 Thread Reinhard Tartler
I'd like to release 0.6.3 soon. would be great if you could have a look at the backported patches and the release notes. Feel free to suggest additional commits to be backported http://git.libav.org/?p=libav.git;a=shortlog;h=refs/heads/release/0.6 -- Gruesse/greetings, Reinhard Tartler, KeyID

Re: [libav-devel] [PATCH 1/3] DPX decoder: add buffer size checks.

2011-05-01 Thread Luca Barbato
On 5/1/11 3:03 PM, Reinhard Tartler wrote: From: Reimar Döffingerreimar.doeffin...@gmx.de --- libavcodec/dpx.c | 19 ++- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index 36a4a39..82891d6 100644 --- a/libavcodec/dpx.c

Re: [libav-devel] [PATCH 3/3] DPX image encoder

2011-05-01 Thread Justin Ruggles
On 05/01/2011 09:03 AM, Reinhard Tartler wrote: +static void encode_rgb48_10bit(AVCodecContext *avctx, const AVPicture *pic, uint8_t *dst) +{ +DPXContext *s = avctx-priv_data; +const uint8_t *src = pic-data[0]; +int x, y; + +for (y = 0; y avctx-height; y++) { +

Re: [libav-devel] [PATCH 2/3] DPX decoder: read sample aspect ratio

2011-05-01 Thread Justin Ruggles
On 05/01/2011 09:03 AM, Reinhard Tartler wrote: From: Peter Ross pr...@xvid.org Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/dpx.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index

Re: [libav-devel] [PATCH 3/3] DPX image encoder

2011-05-01 Thread Reinhard Tartler
On Sun, May 01, 2011 at 15:03:34 (CEST), Reinhard Tartler wrote: diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c new file mode 100644 index 000..1d637b4 --- /dev/null +++ b/libavcodec/dpxenc.c @@ -0,0 +1,176 @@ +/* + * DPX (.dpx) image encoder + * Copyright (c) 2011 Peter Ross

Re: [libav-devel] respecting AVFMT_FLAG_NONBLOCK in AVIO

2011-05-01 Thread Martin Storsjö
On Sun, 1 May 2011, aviad rozenhek wrote: On Sun, May 1, 2011 at 16:04, Ronald S. Bultje rsbul...@gmail.com wrote: We need a demuxer-supports-nonblock (or doesnotsupport-nonblock) flag so we can turn it off for the demuxers not supporting it. doesn't retry_transfer_wrapper() already take

Re: [libav-devel] [PATCH] ac3enc: clip large coefficient values and negative exponents rather than using av_assert2().

2011-05-01 Thread Justin Ruggles
On 04/16/2011 11:52 AM, Justin Ruggles wrote: On 04/16/2011 09:52 AM, Måns Rullgård wrote: Justin Ruggles justin.rugg...@gmail.com writes: On 04/16/2011 09:24 AM, Justin Ruggles wrote: On 04/16/2011 08:59 AM, Måns Rullgård wrote: Justin Ruggles justin.rugg...@gmail.com writes: ---

[libav-devel] [PATCH 1/2] ac3enc: clean up count_frame_bits() and count_frame_bits_fixed()

2011-05-01 Thread Justin Ruggles
--- libavcodec/ac3enc.c | 66 +++--- 1 files changed, 46 insertions(+), 20 deletions(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index bf106eb..f440f43 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -817,35 +817,57 @@

[libav-devel] [PATCH 2/2] ac3enc: put the counting of stereo rematrixing bits in the same place to make the code easier to understand.

2011-05-01 Thread Justin Ruggles
--- libavcodec/ac3enc.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index f440f43..ffabc38 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -837,10 +837,6 @@ static void

Re: [libav-devel] [PATCH] Fix compilation under FreeBSD

2011-05-01 Thread Diego Biurrun
On Fri, Apr 29, 2011 at 12:58:44PM -0700, Aℓex Converse wrote: On Fri, Apr 29, 2011 at 12:51 PM, Luca Barbato lu_z...@gentoo.org wrote: On 4/29/11 8:30 PM, Diogo Franco wrote: FreeBSD, unlike (whatever OS the default -D are trying to fix), defines every symbol by default; conformance

Re: [libav-devel] [PATCH] Fix compilation under FreeBSD

2011-05-01 Thread Diego Biurrun
On Sat, Apr 30, 2011 at 04:39:29PM +, Diogo Franco wrote: 2011/4/30 Måns Rullgård m...@mansr.com The correct solution is to not define those things in the first place on BSD. Yeah, I mentioned that (more complex) alternative on the first mail. The problem is that configure

Re: [libav-devel] respecting AVFMT_FLAG_NONBLOCK in AVIO

2011-05-01 Thread aviad rozenhek
On Sun, May 1, 2011 at 19:43, Martin Storsjö mar...@martin.st wrote: On Sun, 1 May 2011, aviad rozenhek wrote: On Sun, May 1, 2011 at 16:04, Ronald S. Bultje rsbul...@gmail.com wrote: We need a demuxer-supports-nonblock (or doesnotsupport-nonblock) flag so we can turn it off for the

Re: [libav-devel] [PATCH] Fix compilation under FreeBSD

2011-05-01 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: On Sat, Apr 30, 2011 at 04:39:29PM +, Diogo Franco wrote: 2011/4/30 Måns Rullgård m...@mansr.com The correct solution is to not define those things in the first place on BSD. Yeah, I mentioned that (more complex) alternative on the first mail.

[libav-devel] [PATCH] vc1: make overlap filter for I-frames bit-exact.

2011-05-01 Thread Ronald S. Bultje
--- libavcodec/vc1.h|2 + libavcodec/vc1dec.c | 327 --- libavcodec/vc1dsp.c | 58 +- libavcodec/vc1dsp.h |6 +- 4 files changed, 321 insertions(+), 72 deletions(-) diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h index

Re: [libav-devel] [PATCH] Implement fate-rsync target

2011-05-01 Thread Ronald S. Bultje
Hi, On Sun, May 1, 2011 at 7:49 AM, Reinhard Tartler siret...@tauware.de wrote: ---  Makefile |    7 +++  1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 0849443..e453b7a 100644 --- a/Makefile +++ b/Makefile @@ -290,4 +290,11 @@ $(FATE):

Re: [libav-devel] [PATCH] Implement fate-rsync target

2011-05-01 Thread Reinhard Tartler
On Mon, May 02, 2011 at 04:38:28 (CEST), Ronald S. Bultje wrote: Hi, On Sun, May 1, 2011 at 7:49 AM, Reinhard Tartler siret...@tauware.de wrote: ---  Makefile |    7 +++  1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 0849443..e453b7a 100644