[libav-devel] [PATCH] Add a check for strptime().

2011-07-13 Thread Anton Khirnov
It's an XSI extension, not available on some supported systems. --- configure|2 ++ libavformat/dvenc.c |5 + libavformat/gxfenc.c |5 + libavformat/movenc.c |5 + libavformat/mxfenc.c |5 + 5 files changed, 22 insertions(+), 0 deletions(-) diff

Re: [libav-devel] [PATCH 3/9] ffmpeg: remove -intra_dc_precision option

2011-07-13 Thread Kostya
On Tue, Jul 12, 2011 at 06:32:38PM +0200, Anton Khirnov wrote: It's already settable with an AVOption. --- ffmpeg.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) should be OK then ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH] Musepack SV7: try to read files without number of frames provided

2011-07-13 Thread Anton Khirnov
On Tue, 12 Jul 2011 10:22:15 +0200, Kostya Shishkov kostya.shish...@gmail.com wrote: --- libavformat/mpc.c | 26 +++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/libavformat/mpc.c b/libavformat/mpc.c index 0aec1e8..ea6c90f 100644 ---

Re: [libav-devel] [PATCH 3/9] ffmpeg: remove -intra_dc_precision option

2011-07-13 Thread Stefano Sabatini
On date Wednesday 2011-07-13 09:54:58 +0200, Kostya encoded: On Tue, Jul 12, 2011 at 06:32:38PM +0200, Anton Khirnov wrote: It's already settable with an AVOption. --- ffmpeg.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) Wait on this, there is a difference between the

Re: [libav-devel] [PATCH 1/6] Add bwf muxer, wav file with bext chunk

2011-07-13 Thread Tomas Härdin
Anton Khirnov skrev 2011-07-09 11:20: From: Benjamin Larssonbenja...@southpole.se Signed-off-by: Anton Khirnovan...@khirnov.net --- Changelog|4 ++ doc/general.texi |1 + libavformat/Makefile |1 + libavformat/allformats.c |1 +

Re: [libav-devel] [PATCH] build: move tests/seek_test.c to libavformat and reuse generic build rules

2011-07-13 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: --- .gitignore |1 - libavformat/Makefile|2 +- libavformat/seek-test.c | 133 +++ tests/Makefile |6 +-- tests/fate-run.sh |2 +- tests/seek_test.c

Re: [libav-devel] [PATCH] Add a check for strptime().

2011-07-13 Thread Måns Rullgård
Anton Khirnov an...@khirnov.net writes: It's an XSI extension, not available on some supported systems. --- configure|2 ++ libavformat/dvenc.c |5 + libavformat/gxfenc.c |5 + libavformat/movenc.c |5 + libavformat/mxfenc.c |5 + 5 files

[libav-devel] [PATCH] wav: add an option for writing BEXT chunk

2011-07-13 Thread Anton Khirnov
From: Benjamin Larsson benja...@southpole.se Signed-off-by: Anton Khirnov an...@khirnov.net --- Changed it to a private option instead of a new muxer. --- Changelog |4 +++ doc/general.texi |1 + libavformat/wav.c | 78 + 3

Re: [libav-devel] [PATCH] build: move tests/seek_test.c to libavformat and reuse generic build rules

2011-07-13 Thread Stefano Sabatini
On date Wednesday 2011-07-13 10:18:31 +0100, Måns Rullgård encoded: Diego Biurrun di...@biurrun.de writes: --- .gitignore |1 - libavformat/Makefile|2 +- libavformat/seek-test.c | 133 +++ tests/Makefile

Re: [libav-devel] [PATCH] wav: add an option for writing BEXT chunk

2011-07-13 Thread Kostya
On Wed, Jul 13, 2011 at 11:31:23AM +0200, Anton Khirnov wrote: From: Benjamin Larsson benja...@southpole.se Signed-off-by: Anton Khirnov an...@khirnov.net --- Changed it to a private option instead of a new muxer. --- Changelog |4 +++ doc/general.texi |1 +

[libav-devel] [PATCH 2/2] Add a check for strptime().

2011-07-13 Thread Anton Khirnov
It's an XSI extension, not available on some supported systems. --- configure |2 ++ libavformat/utils.c |8 +++- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 02bcd09..596b603 100755 --- a/configure +++ b/configure @@ -1105,6

[libav-devel] [PATCH 1/2] lavf: factor out conversion of ISO8601 string to unix time

2011-07-13 Thread Anton Khirnov
--- libavformat/dvenc.c|7 ++- libavformat/gxfenc.c |8 ++-- libavformat/internal.h |5 + libavformat/movenc.c |7 ++- libavformat/mxfenc.c |7 ++- libavformat/utils.c|7 +++ 6 files changed, 20 insertions(+), 21 deletions(-) diff

Re: [libav-devel] [PATCH] wav: add an option for writing BEXT chunk

2011-07-13 Thread Anton Khirnov
On Wed, 13 Jul 2011 11:46:18 +0200, Kostya kostya.shish...@gmail.com wrote: On Wed, Jul 13, 2011 at 11:31:23AM +0200, Anton Khirnov wrote: From: Benjamin Larsson benja...@southpole.se Signed-off-by: Anton Khirnov an...@khirnov.net --- Changed it to a private option instead of a new

Re: [libav-devel] [PATCH] build: move tests/seek_test.c to libavformat and reuse generic build rules

2011-07-13 Thread Måns Rullgård
Stefano Sabatini stefano.sabatini-l...@poste.it writes: On date Wednesday 2011-07-13 10:18:31 +0100, Måns Rullgård encoded: Diego Biurrun di...@biurrun.de writes: --- .gitignore |1 - libavformat/Makefile|2 +- libavformat/seek-test.c | 133

Re: [libav-devel] [PATCH 1/2] lavf: factor out conversion of ISO8601 string to unix time

2011-07-13 Thread Måns Rullgård
Anton Khirnov an...@khirnov.net writes: +int64_t ff_iso8601_to_unix_time(const char *datestr) +{ +struct tm time = {0}; +strptime(t-value, %Y - %m - %dT%T, time); +return mktime(time); +} -- s/t-value/datestr/ -- Måns Rullgård m...@mansr.com

Re: [libav-devel] [PATCH 1/6] Add bwf muxer, wav file with bext chunk

2011-07-13 Thread Diego Biurrun
On Sat, Jul 09, 2011 at 11:20:15AM +0200, Anton Khirnov wrote: From: Benjamin Larsson benja...@southpole.se Signed-off-by: Anton Khirnov an...@khirnov.net --- Changelog|4 ++ doc/general.texi |1 + libavformat/Makefile |1 +

[libav-devel] [PATCH] mxfenc: include needed header for ff_iso8601_to_unix_time() prototype

2011-07-13 Thread Kostya Shishkov
--- libavformat/mxfenc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 10ba6f3..7dadec0 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -39,6 +39,7 @@ #include libavcodec/bytestream.h #include

Re: [libav-devel] [PATCH] mxfenc: include needed header for ff_iso8601_to_unix_time() prototype

2011-07-13 Thread Måns Rullgård
Kostya Shishkov kostya.shish...@gmail.com writes: --- libavformat/mxfenc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 10ba6f3..7dadec0 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -39,6

[libav-devel] [PATCH] swscale: fix allocation of SwsContext.*PixBuf[]

2011-07-13 Thread Mans Rullgard
These buffers have int16_t elements so the padding at the end needs to be two bytes, not one. Signed-off-by: Mans Rullgard m...@mansr.com --- libswscale/utils.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libswscale/utils.c b/libswscale/utils.c index

Re: [libav-devel] [PATCH] swscale: fix allocation of SwsContext.*PixBuf[]

2011-07-13 Thread Kostya
On Wed, Jul 13, 2011 at 12:54:46PM +0100, Mans Rullgard wrote: These buffers have int16_t elements so the padding at the end needs to be two bytes, not one. Signed-off-by: Mans Rullgard m...@mansr.com --- libswscale/utils.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)

Re: [libav-devel] [PATCH] swscale: fix allocation of SwsContext.*PixBuf[]

2011-07-13 Thread Diego Biurrun
On Wed, Jul 13, 2011 at 12:54:46PM +0100, Mans Rullgard wrote: These buffers have int16_t elements so the padding at the end needs to be two bytes, not one. --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1045,19 +1045,19 @@ int sws_init_context(SwsContext *c, SwsFilter *srcFilter,

Re: [libav-devel] [PATCH] swscale: fix allocation of SwsContext.*PixBuf[]

2011-07-13 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: On Wed, Jul 13, 2011 at 12:54:46PM +0100, Mans Rullgard wrote: These buffers have int16_t elements so the padding at the end needs to be two bytes, not one. --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1045,19 +1045,19 @@ int

Re: [libav-devel] mpegtsenc: Random Access indicator take 2

2011-07-13 Thread Jindřich Makovička
On Mon, Jul 11, 2011 at 16:40, Tomas Härdin tomas.har...@codemill.se wrote: Looks OK to me. Have you tried playing the encoded files on some hardware like an STB though? Yes, the main motivation for this fix was a STB with hard disk recording. -- Jindrich Makovicka

Re: [libav-devel] [PATCH] swscale: fix allocation of SwsContext.*PixBuf[]

2011-07-13 Thread Diego Biurrun
On Wed, Jul 13, 2011 at 01:33:58PM +0100, Måns Rullgård wrote: Diego Biurrun di...@biurrun.de writes: On Wed, Jul 13, 2011 at 12:54:46PM +0100, Mans Rullgard wrote: These buffers have int16_t elements so the padding at the end needs to be two bytes, not one. --- a/libswscale/utils.c

Re: [libav-devel] [PATCH] build: Do not link binaries against libpostproc.

2011-07-13 Thread Diego Biurrun
On Mon, Jul 11, 2011 at 12:09:04PM +0200, Diego Biurrun wrote: On Mon, Jul 11, 2011 at 10:40:15AM +0100, Måns Rullgård wrote: Diego Biurrun di...@biurrun.de writes: On Mon, Jul 11, 2011 at 12:47:53AM +0100, Måns Rullgård wrote: Diego Biurrun di...@biurrun.de writes: On Sun, Jul

[libav-devel] [PATCH] build: Do not link binaries against libpostproc.

2011-07-13 Thread Diego Biurrun
None of the compiled binaries use any of libpostproc's symbols except for trivial ones that print version information. Thus the dependency yields no benefit and it is preferable to drop it. --- LICENSE|2 +- Makefile |6 -- cmdutils.c |2 -- 3 files changed, 5

[libav-devel] [PATCH 2/3] eac3enc: use frame exponent strategy when applicable.

2011-07-13 Thread Justin Ruggles
This checks if the set of selected exponent strategies for all blocks in a channel are in the frame exponent strategy table, and if so, writes the table index instead of each strategy. This saves up to 7 bits per channel per frame, so the overall effect on quality is small. ---

[libav-devel] [PATCH 1/2] Add colorspace flags to AVPixFmtDescriptor

2011-07-13 Thread Fredrik Mellbin
Adding colorspace flags to AVPixFmtDescriptor will allow many similar collections of attributes spread around the codebase to be removed. --- libavutil/pixdesc.c | 55 +- libavutil/pixdesc.h |9 2 files changed, 45 insertions(+), 19

[libav-devel] [PATCH] lavfi: add audio channel packing negotiation fields

2011-07-13 Thread Mina Nagy Zaki
--- libavfilter/avfilter.h | 16 +++- libavfilter/avfiltergraph.c |6 ++ libavfilter/defaults.c |8 libavfilter/formats.c | 11 +++ 4 files changed, 40 insertions(+), 1 deletions(-) diff --git a/libavfilter/avfilter.h

Re: [libav-devel] [PATCH 1/2] Add colorspace flags to AVPixFmtDescriptor

2011-07-13 Thread Ronald S. Bultje
Hi, On Tue, Jul 12, 2011 at 10:14 AM, Fredrik Mellbin fredrik.mell...@gmail.com wrote: +#define PIX_FMT_YUV         0x00 +#define PIX_FMT_GRAY        0x20 +#define PIX_FMT_RGB         0x40 +#define PIX_FMT_BGR         0x60 I don't think this will work. These are not flag values (in the 1 x

[libav-devel] [PATCH] build: add -L flags before existing LDFLAGS

2011-07-13 Thread Mans Rullgard
This ensures the linker picks the just built libraries even if LDFLAGS for some reason contains -L flags pointing at other directories containing libav libraries. Signed-off-by: Mans Rullgard m...@mansr.com --- Makefile |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[libav-devel] [PATCH 2/3] eac3enc: use frame exponent strategy when applicable.

2011-07-13 Thread Justin Ruggles
This checks if the set of selected exponent strategies for all blocks in a channel are in the frame exponent strategy table, and if so, writes the table index instead of each strategy. This saves up to 7 bits per channel per frame, so the overall effect on quality is small. --- Fixed a bug in bit

[libav-devel] (no subject)

2011-07-13 Thread Mina Nagy Zaki
I have reordered PACKED before PLANAR in the all_packing_formats() function so that PACKED is preferred ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH] swscale: extend mmx padding.

2011-07-13 Thread Ronald S. Bultje
From: Ronald S. Bultje rsbul...@gmail.com Fixes a crash when forcing libc to strictly adhere to malloc sizes. --- libswscale/utils.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libswscale/utils.c b/libswscale/utils.c index 296c845..71f75d9 100644 ---

Re: [libav-devel] [PATCH] lavfi: add audio channel packing negotiation fields

2011-07-13 Thread Mina Nagy Zaki
I have reordered the PACKED and PLANAR flags to make PACKED the default PS: sorry for the broken emails, I fail at git send-email --- libavfilter/avfilter.h | 16 +++- libavfilter/avfiltergraph.c |6 ++ libavfilter/defaults.c |8

Re: [libav-devel] [PATCH] build: add -L flags before existing LDFLAGS

2011-07-13 Thread Stefano Sabatini
On date Wednesday 2011-07-13 18:18:07 +0100, Mans Rullgard encoded: This ensures the linker picks the just built libraries even if LDFLAGS for some reason contains -L flags pointing at other directories containing libav libraries. Signed-off-by: Mans Rullgard m...@mansr.com --- Makefile |

Re: [libav-devel] [PATCH] swscale: extend mmx padding.

2011-07-13 Thread Kostya
On Wed, Jul 13, 2011 at 10:43:35AM -0700, Ronald S. Bultje wrote: From: Ronald S. Bultje rsbul...@gmail.com Fixes a crash when forcing libc to strictly adhere to malloc sizes. --- libswscale/utils.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [libav-devel] [PATCH 3/3] cosmetics: indentation

2011-07-13 Thread Diego Biurrun
On Wed, Jul 13, 2011 at 12:50:48PM -0400, Justin Ruggles wrote: --- libavcodec/eac3enc.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 0/2] Port libcelt decoder from FFmpeg.

2011-07-13 Thread Alex Converse
On Fri, Jul 8, 2011 at 4:13 PM, Alex Converse alex.conve...@gmail.com wrote: On Fri, Jul 8, 2011 at 4:03 PM, Jason Garrett-Glaser ja...@x264.com wrote: 2011/7/8 Måns Rullgård m...@mansr.com: Alex Converse alex.conve...@gmail.com writes: This is a direct port of Nicolas George's patch set with

Re: [libav-devel] [PATCH 1/2] Add colorspace flags to AVPixFmtDescriptor

2011-07-13 Thread Stefano Sabatini
On date Wednesday 2011-07-13 01:14:44 +0800, Fredrik Mellbin encoded: Adding colorspace flags to AVPixFmtDescriptor will allow many similar collections of attributes spread around the codebase to be removed. --- libavutil/pixdesc.c | 55 +-

Re: [libav-devel] [PATCH 2/2] Clean up macros used to check colorspace attributes in swscale

2011-07-13 Thread Stefano Sabatini
On date Wednesday 2011-07-13 01:17:34 +0800, Fredrik Mellbin encoded: This patch cleans up several macros consisting of PixelFormat lists with simpler checks derived from av_pix_fmt_descriptors. --- libswscale/swscale_internal.h | 168 +++-- libswscale/utils.c|

Re: [libav-devel] [PATCH 1/3] cosmetics: rename eac3dec_data.c/h to eac3_data.c/h since the tables will also be used in the E-AC-3 encoder.

2011-07-13 Thread Diego Biurrun
On Wed, Jul 13, 2011 at 12:50:46PM -0400, Justin Ruggles wrote: --- libavcodec/Makefile |2 +- libavcodec/eac3_data.c| 1134 + libavcodec/eac3_data.h| 36 ++ libavcodec/eac3dec.c |2 +- libavcodec/eac3dec_data.c |

Re: [libav-devel] [PATCH] build: add -L flags before existing LDFLAGS

2011-07-13 Thread Diego Biurrun
On Wed, Jul 13, 2011 at 06:18:07PM +0100, Mans Rullgard wrote: This ensures the linker picks the just built libraries even if LDFLAGS for some reason contains -L flags pointing at other directories containing libav libraries. OK --- a/Makefile +++ b/Makefile @@ -20,13 +20,15 @@ $(foreach

[libav-devel] [PATCH] ffserver: Replace two loops with one loop.

2011-07-13 Thread Mike Williams
Signed-off-by: Mike Williams m...@mikebwilliams.com --- ffserver.c | 16 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/ffserver.c b/ffserver.c index 1dc8a17..8bc810d 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3650,21 +3650,13 @@ static void

Re: [libav-devel] [PATCH] lavf: fix segfault in av_open_input_stream()

2011-07-13 Thread Ronald S. Bultje
Hi, On Tue, Jul 12, 2011 at 1:47 PM, Anton Khirnov an...@khirnov.net wrote: ic is NULL in case of error. ---  libavformat/utils.c |    3 ++-  1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index bbd1b2d..cf63e2e 100644 ---

[libav-devel] [PATCH] ffserver: replace useless stream_next variable with direct reference

2011-07-13 Thread Mike Williams
Signed-off-by: Mike Williams m...@mikebwilliams.com --- ffserver.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ffserver.c b/ffserver.c index 8bc810d..0265d60 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3596,13 +3596,12 @@ static void

Re: [libav-devel] [PATCH] build: add -L flags before existing LDFLAGS

2011-07-13 Thread Diego Biurrun
On Wed, Jul 13, 2011 at 07:25:43PM +0100, Måns Rullgård wrote: Diego Biurrun di...@biurrun.de writes: On Wed, Jul 13, 2011 at 06:18:07PM +0100, Mans Rullgard wrote: --- a/Makefile +++ b/Makefile @@ -20,13 +20,15 @@ $(foreach VAR,$(SILENT),$(eval override $(VAR) = @$($(VAR

Re: [libav-devel] [PATCH] build: add -L flags before existing LDFLAGS

2011-07-13 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: On Wed, Jul 13, 2011 at 07:25:43PM +0100, Måns Rullgård wrote: Diego Biurrun di...@biurrun.de writes: On Wed, Jul 13, 2011 at 06:18:07PM +0100, Mans Rullgard wrote: --- a/Makefile +++ b/Makefile @@ -20,13 +20,15 @@ $(foreach VAR,$(SILENT),$(eval

Re: [libav-devel] [PATCH 2/5] mpeg1video: add CODEC_CAP_SLICE_THREADS.

2011-07-13 Thread Ronald S. Bultje
Hi, On Wed, Jun 29, 2011 at 2:13 PM, Ronald S. Bultje rsbul...@gmail.com wrote: From: Ronald S. Bultje rsbul...@gmail.com ---  libavcodec/mpeg12.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 03c95c1..10b5230

Re: [libav-devel] [PATCH 1/5] Respect CONFIG_SWSCALE in ffmpeg.c/ffplay.c.

2011-07-13 Thread Ronald S. Bultje
Hi, On Wed, Jun 29, 2011 at 2:49 PM, Diego Biurrun di...@biurrun.de wrote: On Wed, Jun 29, 2011 at 02:35:23PM -0700, Alex Converse wrote: 2011/6/29 Måns Rullgård m...@mansr.com: Ronald S. Bultje rsbul...@gmail.com writes: From: Frank Barchard fbarch...@chromium.org Signed-off-by:

Re: [libav-devel] [PATCH 4/9] ffmpeg: do not set GLOBAL_HEADER flag in the options context

2011-07-13 Thread Ronald S. Bultje
Hi, On Tue, Jul 12, 2011 at 9:32 AM, Anton Khirnov an...@khirnov.net wrote: ---  ffmpeg.c |    4  1 files changed, 0 insertions(+), 4 deletions(-) A log message here would help to understand that they're removed because these lines don't do anything; the flags are already set in the line

Re: [libav-devel] [PATCH 5/9] ffmpeg: check experimental flag after codec is opened.

2011-07-13 Thread Ronald S. Bultje
Hi, On Tue, Jul 12, 2011 at 9:32 AM, Anton Khirnov an...@khirnov.net wrote: This doesn't access avcodec_opts, so it will work with the new options passing system. ---  ffmpeg.c |   52 ++--  1 files changed, 26 insertions(+), 26 deletions(-)

Re: [libav-devel] [PATCH 2/5] mpeg1video: add CODEC_CAP_SLICE_THREADS.

2011-07-13 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: Hi, On Wed, Jun 29, 2011 at 2:13 PM, Ronald S. Bultje rsbul...@gmail.com wrote: From: Ronald S. Bultje rsbul...@gmail.com ---  libavcodec/mpeg12.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/mpeg12.c

Re: [libav-devel] [PATCH 6/9] cmdutils: store all codec options in one dict instead of video/audio/sub

2011-07-13 Thread Ronald S. Bultje
Hi, On Tue, Jul 12, 2011 at 9:32 AM, Anton Khirnov an...@khirnov.net wrote: Split them when codec id is known. ---  cmdutils.c |   52 +++-  cmdutils.h |    7 ++-  2 files changed, 37 insertions(+), 22 deletions(-) OK. Ronald

Re: [libav-devel] [PATCH 7/9] ffplay: use new avcodec_open2 and avformat_find_stream_info API.

2011-07-13 Thread Ronald S. Bultje
Hi, On Tue, Jul 12, 2011 at 9:32 AM, Anton Khirnov an...@khirnov.net wrote: ---  cmdutils.c |   17 +  cmdutils.h |    5 +  ffplay.c   |   38 ++  3 files changed, 40 insertions(+), 20 deletions(-) OK. Ronald

Re: [libav-devel] [PATCH 8/9] ffmpeg: use new avcodec_open2 and avformat_find_stream_info API.

2011-07-13 Thread Ronald S. Bultje
Hi, On Tue, Jul 12, 2011 at 9:32 AM, Anton Khirnov an...@khirnov.net wrote: ---  ffmpeg.c |   46 +-  1 files changed, 21 insertions(+), 25 deletions(-) OK. Ronald ___ libav-devel mailing list

Re: [libav-devel] [PATCH 9/9] cmdutils: replace opt_default with opt_default2() and remove set_context_opts

2011-07-13 Thread Ronald S. Bultje
Hi, On Tue, Jul 12, 2011 at 9:32 AM, Anton Khirnov an...@khirnov.net wrote: ---  cmdutils.c |  108 +---  cmdutils.h |    3 --  2 files changed, 1 insertions(+), 110 deletions(-) OK. Ronald

[libav-devel] [PATCH 1/2] ac3enc: prefer passing AC3EncodeContext rather than AVCodecContext

2011-07-13 Thread Justin Ruggles
--- libavcodec/ac3enc.c | 23 --- libavcodec/ac3enc.h |2 +- libavcodec/ac3enc_template.c |2 +- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 809a3f5..02ff6f5 100644 ---

[libav-devel] [PATCH 2/2] ac3enc: merge AC3MDCTContext with AC3EncodeContext.

2011-07-13 Thread Justin Ruggles
Since both the fixed-point and floating-point encoders use the FFTContext, this no longer needs to be in a separate context. Also, when a short-transform context is added, the same MDCT window will be used. --- libavcodec/ac3enc.c |6 ++ libavcodec/ac3enc.h | 22

[libav-devel] [PATCH] ac3enc: fix memleak

2011-07-13 Thread Justin Ruggles
--- libavcodec/ac3enc.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 809a3f5..f957ee9 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -1820,6 +1820,8 @@ av_cold int ff_ac3_encode_close(AVCodecContext

[libav-devel] [PATCH] h264: move fill_decode_neighbors()/fill_decode_caches() to h264_mvpred.h

2011-07-13 Thread Diego Biurrun
This fixes a bunch of unused function warnings. --- libavcodec/h264.h| 418 -- libavcodec/h264_mvpred.h | 418 ++ 2 files changed, 418 insertions(+), 418 deletions(-) diff --git a/libavcodec/h264.h

Re: [libav-devel] [PATCH 1/2] ac3enc: prefer passing AC3EncodeContext rather than AVCodecContext

2011-07-13 Thread Alex Converse
On Wed, Jul 13, 2011 at 12:41 PM, Justin Ruggles justin.rugg...@gmail.com wrote: ---  libavcodec/ac3enc.c          |   23 ---  libavcodec/ac3enc.h          |    2 +-  libavcodec/ac3enc_template.c |    2 +-  3 files changed, 14 insertions(+), 13 deletions(-) OK

Re: [libav-devel] [PATCH 2/2] ac3enc: merge AC3MDCTContext with AC3EncodeContext.

2011-07-13 Thread Alex Converse
On Wed, Jul 13, 2011 at 12:41 PM, Justin Ruggles justin.rugg...@gmail.com wrote: Since both the fixed-point and floating-point encoders use the FFTContext, this no longer needs to be in a separate context. Also, when a short-transform context is added, the same MDCT window will be used. ---  

[libav-devel] [PATCH] cmdutils: store all codec options in one dict instead of video/audio/sub

2011-07-13 Thread Anton Khirnov
Split them when codec id is known. --- Fixed a segfault when codec is NULL. --- cmdutils.c | 55 ++- cmdutils.h |7 ++- 2 files changed, 40 insertions(+), 22 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index 2124ca1..a2fe103

Re: [libav-devel] [PATCH] lavfi: add audio channel packing negotiation fields

2011-07-13 Thread Mina Nagy Zaki
On Wed, Jul 13, 2011 at 07:50:26PM +0300, Mina Nagy Zaki wrote: [...] +enum AVFilterPacking { +AVFILTER_PACKED = 1, +AVFILTER_PLANAR, +}; And this needs to be AVFILTER_PACKED = 0 Remenant from the old way I was dealing with this. ___

Re: [libav-devel] [PATCH] cmdutils: store all codec options in one dict instead of video/audio/sub

2011-07-13 Thread Ronald S. Bultje
Hi, On Wed, Jul 13, 2011 at 1:53 PM, Anton Khirnov an...@khirnov.net wrote: Split them when codec id is known. --- Fixed a segfault when codec is NULL. ---  cmdutils.c |   55 ++-  cmdutils.h |    7 ++-  2 files changed, 40

Re: [libav-devel] [PATCH] h264: move fill_decode_neighbors()/fill_decode_caches() to h264_mvpred.h

2011-07-13 Thread Ronald S. Bultje
Hi, On Wed, Jul 13, 2011 at 1:02 PM, Diego Biurrun di...@biurrun.de wrote: This fixes a bunch of unused function warnings. ---  libavcodec/h264.h        |  418 --  libavcodec/h264_mvpred.h |  418 ++  

[libav-devel] [PATCH 2/2] libx264: do not set pic quality if no frame is output

2011-07-13 Thread Anton Khirnov
From: Baptiste Coudurier baptiste.coudur...@gmail.com Avoids uninitialized reads. Signed-off-by: Anton Khirnov an...@khirnov.net --- libavcodec/libx264.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 17cae71..bcf8b1f

[libav-devel] [PATCH 1/2] libx264: add preset, tune, profile and fastfirstpass private options

2011-07-13 Thread Anton Khirnov
From: Baptiste Coudurier baptiste.coudur...@gmail.com Signed-off-by: Anton Khirnov an...@khirnov.net --- libavcodec/libx264.c | 112 +++--- 1 files changed, 79 insertions(+), 33 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c

Re: [libav-devel] [PATCH 2/2] libx264: do not set pic quality if no frame is output

2011-07-13 Thread Ronald S. Bultje
Hi, On Wed, Jul 13, 2011 at 2:23 PM, Anton Khirnov an...@khirnov.net wrote: From: Baptiste Coudurier baptiste.coudur...@gmail.com Avoids uninitialized reads. Signed-off-by: Anton Khirnov an...@khirnov.net ---  libavcodec/libx264.c |    3 ++-  1 files changed, 2 insertions(+), 1

Re: [libav-devel] [PATCH] h264: move fill_decode_neighbors()/fill_decode_caches() to h264_mvpred.h

2011-07-13 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: Hi, On Wed, Jul 13, 2011 at 1:02 PM, Diego Biurrun di...@biurrun.de wrote: This fixes a bunch of unused function warnings. ---  libavcodec/h264.h        |  418 --  libavcodec/h264_mvpred.h |  418

Re: [libav-devel] [PATCH 1/5] Respect CONFIG_SWSCALE in ffmpeg.c/ffplay.c.

2011-07-13 Thread Måns Rullgård
Stefano Sabatini stefano.sabatini-l...@poste.it writes: On date Wednesday 2011-06-29 14:46:34 -0700, Ronald S. Bultje encoded: Hi, On Wed, Jun 29, 2011 at 2:41 PM, Diego Biurrun di...@biurrun.de wrote: On Wed, Jun 29, 2011 at 02:13:16PM -0700, Ronald S. Bultje wrote: [...] ---

Re: [libav-devel] [FFmpeg-devel] ESA Summer of Code in Space 2011

2011-07-13 Thread Stefano Sabatini
On date Sunday 2011-07-10 21:58:53 +0200, Stefano Sabatini encoded: On date Saturday 2011-07-09 21:26:25 +0200, Stefano Sabatini encoded: [...] It is fundamental for the application success to have a page of ideas/proposals. I'm going to create a new page based on this:

Re: [libav-devel] [FFmpeg-devel] ESA Summer of Code in Space 2011

2011-07-13 Thread Ronald S. Bultje
Hi, On Wed, Jul 13, 2011 at 2:31 PM, Stefano Sabatini stefano.sabatini-l...@poste.it wrote: On date Sunday 2011-07-10 21:58:53 +0200, Stefano Sabatini encoded: On date Saturday 2011-07-09 21:26:25 +0200, Stefano Sabatini encoded: [...] It is fundamental for the application success to have a

Re: [libav-devel] [libav-commits] ffmpeg: use new avcodec_open2 and avformat_find_stream_info API.

2011-07-13 Thread Måns Rullgård
Anton Khirnov g...@libav.org writes: Module: libav Branch: master Commit: bf174a70cde333eba7e27063f9ce44497108f466 Author:Anton Khirnov an...@khirnov.net Committer: Anton Khirnov an...@khirnov.net Date: Wed May 25 17:29:25 2011 +0200 ffmpeg: use new avcodec_open2 and

Re: [libav-devel] [FFmpeg-devel] ESA Summer of Code in Space 2011

2011-07-13 Thread Stefano Sabatini
On date Wednesday 2011-07-13 14:44:16 -0700, Ronald S. Bultje encoded: [...] *Reminder*: on 15 July at 11pm UTC there is the organizations application deadline. If you plan to partecipate as a mentor please add a proposal here as soon as possible:

Re: [libav-devel] [FFmpeg-devel] [PATCH] fifo: add av_fifo_peek2()

2011-07-13 Thread Stefano Sabatini
On date Tuesday 2011-07-05 01:54:51 +0200, Stefano Sabatini encoded: On date Monday 2011-07-04 16:42:04 +0200, Diego Biurrun encoded: [...] From 2ec24f2f0c79414edfd558f3c55b7d7969018912 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini stefano.sabatini-l...@poste.it Date: Wed, 29 Jun 2011

Re: [libav-devel] [FFmpeg-devel] [PATCH] fifo: add av_fifo_peek2()

2011-07-13 Thread Diego Biurrun
On Tue, Jul 05, 2011 at 01:54:51AM +0200, Stefano Sabatini wrote: --- a/libavutil/fifo.h +++ b/libavutil/fifo.h @@ -113,4 +113,25 @@ static inline uint8_t av_fifo_peek(AVFifoBuffer *f, int offs) + +/** + * Return a pointer to the data stored in a FIFO buffer at a certain offset. + * The

Re: [libav-devel] [PATCH] lavfi: add audio channel packing negotiation fields

2011-07-13 Thread Stefano Sabatini
On date Wednesday 2011-07-13 19:01:55 +0300, Mina Nagy Zaki encoded: --- libavfilter/avfilter.h | 16 +++- libavfilter/avfiltergraph.c |6 ++ libavfilter/defaults.c |8 libavfilter/formats.c | 11 +++ 4 files changed, 40

Re: [libav-devel] [PATCH] doxygen: Move function documentation into the macro generating the function.

2011-07-13 Thread Diego Biurrun
On Mon, Jul 04, 2011 at 12:38:58PM +0200, Diego Biurrun wrote: This fixes a bunch of related warnings where Doxygen assumed that the documentation belonged to the macro and not the function. OKed by Stefano on IRC, pushing.. Diego ___ libav-devel

Re: [libav-devel] [PATCH 5/8] doxygen: Make sure parameter names match between .c and .h files.

2011-07-13 Thread Diego Biurrun
On Sun, Jul 03, 2011 at 07:27:12PM +0200, Diego Biurrun wrote: On Sun, Jul 03, 2011 at 05:40:22PM +0200, Stefano Sabatini wrote: On date Sunday 2011-07-03 16:42:11 +0200, Diego Biurrun encoded: Also sometimes the implementation names differ because you try to avoid clashes with internal

Re: [libav-devel] [FFmpeg-devel] ESA Summer of Code in Space 2011

2011-07-13 Thread Daniel Kang
On Wed, Jul 13, 2011 at 5:31 PM, Stefano Sabatini stefano.sabatini-l...@poste.it wrote: On date Sunday 2011-07-10 21:58:53 +0200, Stefano Sabatini encoded: On date Saturday 2011-07-09 21:26:25 +0200, Stefano Sabatini encoded: [...] It is fundamental for the application success to have a

[libav-devel] [PATCH] lavf: fix invalid reads in avformat_find_stream_info()

2011-07-13 Thread Anton Khirnov
--- libavformat/utils.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 71fa955..cc0336a 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2389,7 +2389,7 @@ int avformat_find_stream_info(AVFormatContext *ic,

Re: [libav-devel] [PATCH] lavf: fix invalid reads in avformat_find_stream_info()

2011-07-13 Thread Ronald S. Bultje
Hi, On Wed, Jul 13, 2011 at 6:14 PM, Anton Khirnov an...@khirnov.net wrote: ---  libavformat/utils.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 71fa955..cc0336a 100644 --- a/libavformat/utils.c +++

Re: [libav-devel] [PATCH] H.264: Add more x86 assembly for 10-bit H.264 predict functions

2011-07-13 Thread Ronald S. Bultje
Hi, On Mon, Jul 11, 2011 at 2:26 PM, Daniel Kang daniel.d.k...@gmail.com wrote: Mainly ported from 8-bit H.264 predict. Some code ported from x264. LGPL ok by author. ---  libavcodec/x86/h264_intrapred_10bit.asm |  231 ++-  libavcodec/x86/h264_intrapred_init.c  

[libav-devel] [PATCH 2/6] doxygen: place empty line between brief description and detailed description

2011-07-13 Thread Diego Biurrun
Without it, Doxygen cannot separate them into different sections. --- libavcodec/8svx.c |1 + libavcodec/qdm2.c |1 + libavcodec/rl2.c |1 + libavformat/iss.c |1 + libavformat/rl2.c |1 + 5 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavcodec/8svx.c

[libav-devel] [PATCH 1/6] doxygen: do not include license boilerplate in Doxygen documentation

2011-07-13 Thread Diego Biurrun
--- libavcodec/huffman.c | 10 +++--- libavcodec/huffman.h |9 +++-- libavcodec/vorbis.c| 12 +++- libavcodec/vorbisdec.c | 12 +++- libavcodec/vp5.c | 11 +++ libavcodec/vp56.c |9 +++-- libavcodec/vp56.h |9

[libav-devel] [PATCH 3/6] doxygen: consistently place brief description

2011-07-13 Thread Diego Biurrun
--- libavcodec/faxcompr.c |2 +- libavcodec/faxcompr.h |2 +- libavcodec/lzwenc.c |2 +- libavcodec/pcxenc.c |2 +- libavcodec/rl2.c |2 +- libavcodec/tiff.c |3 ++- libavcodec/tiff.h |3 ++- libavcodec/tiffenc.c |3 ++- libavcodec/tmv.c |

[libav-devel] [PATCH 4/6] doc: remove file name from @file directive in Doxygen usage example

2011-07-13 Thread Diego Biurrun
The file name is redundant and brittle across file renamings. --- doc/developer.texi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/developer.texi b/doc/developer.texi index 45a4f44..208c119 100644 --- a/doc/developer.texi +++ b/doc/developer.texi @@ -92,7 +92,7 @@

[libav-devel] [PATCH 6/6] doxygen: misc consistency cosmetics

2011-07-13 Thread Diego Biurrun
--- libavcodec/g722.c |1 - libavcodec/lzw.h|2 +- libavcodec/msmpeg4.h|4 libavcodec/vaapi_h264.c |7 --- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/libavcodec/g722.c b/libavcodec/g722.c index 257292d..74d5552 100644 ---