Re: [libav-devel] [PATCH] lavc: add CODEC_CAP_DR1 to all video decoders missing them

2012-10-24 Thread Anton Khirnov
On Wed, 17 Oct 2012 21:41:42 +0200, Anton Khirnov an...@khirnov.net wrote: The remaining ones are: libschroedinger -- DR possible in principle / the decoder may be replaced with native libvpx -- DR not possible with current API rawvideo -- decoded frame depends on input packet, DR not

Re: [libav-devel] [PATCH 03/45] dca_parser: allow the parser to change the sample rate

2012-10-24 Thread Kostya Shishkov
On Wed, Oct 24, 2012 at 01:34:00AM -0400, Justin Ruggles wrote: On 10/24/2012 12:13 AM, Kostya Shishkov wrote: On Tue, Oct 23, 2012 at 05:43:18PM -0400, Justin Ruggles wrote: --- libavcodec/dca_parser.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

Re: [libav-devel] [PATCH 28/45] libopencore-amr: set channel layout for amr-nb or if not set by the user

2012-10-24 Thread Martin Storsjö
On Wed, 24 Oct 2012, Justin Ruggles wrote: On 10/23/2012 06:13 PM, Martin Storsjö wrote: On Tue, 23 Oct 2012, Justin Ruggles wrote: --- libavcodec/libopencore-amr.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libavcodec/libopencore-amr.c

[libav-devel] [PATCH] mention plan 9 support in the changelog

2012-10-24 Thread Reinhard Tartler
Signed-off-by: Reinhard Tartler siret...@tauware.de --- Changelog |1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index c3d55c1..3b8ba4a 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,7 @@ releases are sorted from youngest to oldest. version next: - metadata

[libav-devel] [PATCH] Announce plain 9 beta 2 release

2012-10-24 Thread Reinhard Tartler
--- src/download | 20 ++-- src/news | 30 +- 2 files changed, 39 insertions(+), 11 deletions(-) diff --git a/src/download b/src/download index 9a53b21..28d7603 100644 --- a/src/download +++ b/src/download @@ -213,16 +213,16 @@ new Bugzilla for

Re: [libav-devel] [PATCH] mention plan 9 support in the changelog

2012-10-24 Thread Kostya Shishkov
On Wed, Oct 24, 2012 at 10:06:22AM +0200, Reinhard Tartler wrote: On Wed, Oct 24, 2012 at 9:57 AM, Reinhard Tartler siret...@tauware.de wrote: Signed-off-by: Reinhard Tartler siret...@tauware.de --- Changelog |1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog

Re: [libav-devel] [PATCH] mention plan 9 support in the changelog

2012-10-24 Thread Reinhard Tartler
On Wed, Oct 24, 2012 at 10:14 AM, Kostya Shishkov kostya.shish...@gmail.com wrote: On Wed, Oct 24, 2012 at 10:06:22AM +0200, Reinhard Tartler wrote: On Wed, Oct 24, 2012 at 9:57 AM, Reinhard Tartler siret...@tauware.de wrote: Signed-off-by: Reinhard Tartler siret...@tauware.de ---

[libav-devel] [PATCH] smoothstreamingenc: Don't assume streams start from timestamp 0

2012-10-24 Thread Martin Storsjö
Also use dts instead of pts for deciding where to split fragments. --- libavformat/smoothstreamingenc.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index 69d555f..1ed675a 100644 ---

Re: [libav-devel] ffv1.3 framemd5: segmentation fault

2012-10-24 Thread Peter B.
When creating framemd5 checksums of a FFv1.3 file created with ffmpeg, I sometimes get a segfault with avconv. Example: Input video is waterfall_cif.y4m from Derf's collection at xiph.org [1]. //- $ ffmpeg -i input/xiph-derf/bis_SD/waterfall_cif.y4m -an -vcodec ffv1

Re: [libav-devel] [PATCH] mention plan 9 support in the changelog

2012-10-24 Thread Peter B.
On 10/24/2012 10:23 AM, Reinhard Tartler wrote: On Wed, Oct 24, 2012 at 10:14 AM, Kostya Shishkov kostya.shish...@gmail.com wrote: On Wed, Oct 24, 2012 at 10:06:22AM +0200, Reinhard Tartler wrote: maybe support FFv1 codec version 3 as well? 1.3 maybe? The commit message reads: ffv1: update

Re: [libav-devel] [PATCH] Announce plain 9 beta 2 release

2012-10-24 Thread Diego Biurrun
On Wed, Oct 24, 2012 at 10:07:06AM +0200, Reinhard Tartler wrote: --- a/src/news +++ b/src/news @@ -1,5 +1,33 @@ + +ul +li/ Support for shared libraries with the MSVC toolchain +li/ Metadata (INFO tag) support in WAV muxer +li/ Support building on the Plan 9 operating system +li/ The

Re: [libav-devel] [PATCH] mention plan 9 support in the changelog

2012-10-24 Thread Diego Biurrun
On Wed, Oct 24, 2012 at 09:57:26AM +0200, Reinhard Tartler wrote: --- a/Changelog +++ b/Changelog @@ -4,6 +4,7 @@ releases are sorted from youngest to oldest. version next: - metadata (INFO tag) support in WAV muxer - support for building DLLs using MSVC +- support building libav on

Re: [libav-devel] [PATCH] mention plan 9 support in the changelog

2012-10-24 Thread Luca Barbato
On 10/24/12 10:23 AM, Reinhard Tartler wrote: The commit message reads: ffv1: update to ffv1 version 3 Luca, can you clarify how this reads best? ffv1 is the name of the codec, contraction of ffmpeg video 1. The version (mind you there is now even a minor field) indicates a number of

Re: [libav-devel] [PATCH] smoothstreamingenc: Don't assume streams start from timestamp 0

2012-10-24 Thread Luca Barbato
On 10/24/12 10:28 AM, Martin Storsjö wrote: Also use dts instead of pts for deciding where to split fragments. --- libavformat/smoothstreamingenc.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) Fine for me. lu ___ libav-devel

Re: [libav-devel] [PATCH 02/45] lavc: check channel count after decoder init

2012-10-24 Thread Luca Barbato
On 10/23/12 11:43 PM, Justin Ruggles wrote: Ensures the decoder did not set channel count to an insanely high value during initialization, which could cause large memory usage when it tries to get a buffer during decoding. --- libavcodec/utils.c |5 + 1 files changed, 5 insertions(+),

Re: [libav-devel] [PATCH 08/45] atrac1: do not keep a copy of channel count in the private context

2012-10-24 Thread Luca Barbato
On 10/23/12 11:43 PM, Justin Ruggles wrote: --- libavcodec/atrac1.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 1/3] add a new codec property

2012-10-24 Thread Kostya Shishkov
--- libavcodec/avcodec.h |4 libavcodec/version.h |2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c505a92..6b36a9d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -479,6 +479,10 @@ typedef struct

[libav-devel] [PATCH 2/3] mark codecs that deserve it

2012-10-24 Thread Kostya Shishkov
--- libavcodec/codec_desc.c | 20 +++- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index 818a35e..35581f2 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -129,21 +129,21 @@ static const

[libav-devel] [PATCH 3/3] avconv: warn about inappropriate output stream format

2012-10-24 Thread Kostya Shishkov
--- avconv.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/avconv.c b/avconv.c index bf1e2fa..d6e0099 100644 --- a/avconv.c +++ b/avconv.c @@ -1566,6 +1566,7 @@ static int transcode_init(void) /* for each output stream, we compute the right encoding

Re: [libav-devel] [PATCH 10/45] cook: use AVCodecContext.channels instead of keeping a private copy

2012-10-24 Thread Benjamin Larsson
OK ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 11/45] cook: remove unneeded COOKContext variable, bit_rate

2012-10-24 Thread Benjamin Larsson
OK ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 13/45] cook: reverse a condition so that the code makes more sense

2012-10-24 Thread Benjamin Larsson
OK ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 15/45] cook: move samples_per_frame from COOKSubpacket to where it is used

2012-10-24 Thread Benjamin Larsson
OK ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 17/45] dcadec: allow the decoder to change the channel layout mid-stream

2012-10-24 Thread Benjamin Larsson
Well, a dca stream isn't allowed to change configuration midstream. But I guess is the decoder can handle it the patch is OK even though it is a violation of the specs. MvH Benjamin Larsson ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 36/45] sipr: set channel layout

2012-10-24 Thread Benjamin Larsson
OK ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 38/45] twinvq: validate that channels is not = 0

2012-10-24 Thread Benjamin Larsson
OK ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 40/45] twinvq: validate sample rate code

2012-10-24 Thread Benjamin Larsson
OK ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 42/45] wma: do not keep private copies of some AVCodecContext fields

2012-10-24 Thread Benjamin Larsson
OK ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 1/4] configure: generalise 64-bit test

2012-10-24 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 158ce99..c626e07 100755 --- a/configure +++ b/configure @@ -2694,13 +2694,20 @@ EOF check_host_cflags -std=c99 check_host_cflags

[libav-devel] [PATCH 2/4] configure: detect mips64 automatically

2012-10-24 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index c626e07..c1f7fe0 100755 --- a/configure +++ b/configure @@ -2479,13 +2479,9 @@ case $arch in arm*) arch=arm ;;

[libav-devel] [PATCH 3/4] configure: detect ppc64 automatically

2012-10-24 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configure b/configure index c1f7fe0..7559605 100755 --- a/configure +++ b/configure @@ -2489,13 +2489,9 @@ case $arch in arch=parisc

[libav-devel] [PATCH 4/4] configure: detect parisc64 automatically

2012-10-24 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 7559605..01b0f67 100755 --- a/configure +++ b/configure @@ -2482,13 +2482,9 @@ case $arch in mips*|IP*) arch=mips

Re: [libav-devel] [PATCH 1/4] configure: generalise 64-bit test

2012-10-24 Thread Luca Barbato
On 10/24/2012 01:33 PM, Mans Rullgard wrote: Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) The patchset looks ok. ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 02/45] lavc: check channel count after decoder init

2012-10-24 Thread Justin Ruggles
On 10/24/2012 06:02 AM, Luca Barbato wrote: On 10/23/12 11:43 PM, Justin Ruggles wrote: Ensures the decoder did not set channel count to an insanely high value during initialization, which could cause large memory usage when it tries to get a buffer during decoding. --- libavcodec/utils.c

[libav-devel] [PATCH] rawvideo: refactor

2012-10-24 Thread Luca Barbato
ff_raw_read_header is used only for this demuxer for video. --- ff_raw_read_header looks strange and we have the variants ff_raw{audio,video}_read_header that do less and are actually used. I'd remove ff_raw_read_header and add somethin specific for pcm and c722 libavformat/Makefile | 2

Re: [libav-devel] [libav-commits] libxvid: switch to encode2().

2012-10-24 Thread Anton Khirnov
On Wed, 24 Oct 2012 11:47:24 +0200, Diego Biurrun di...@biurrun.de wrote: On Thu, Aug 09, 2012 at 02:38:18AM +0200, Diego Biurrun wrote: On Thu, Feb 23, 2012 at 08:28:35PM +0100, Anton Khirnov wrote: Module: libav Branch: master Commit: 4da6d194e5b00404f4d545adcaa8e206592ae746

[libav-devel] [PATCH 1/1] h263: avoid memcpys over array bound in motion vector caching for obmc

2012-10-24 Thread Janne Grunau
Also changes existing AV_COPY32 calls to the unaligned variant. Fixes CID602232. --- libavcodec/mpegvideo_motion.c | 40 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/libavcodec/mpegvideo_motion.c b/libavcodec/mpegvideo_motion.c index

Re: [libav-devel] [libav-commits] libxvid: switch to encode2().

2012-10-24 Thread Diego Biurrun
On Wed, Oct 24, 2012 at 04:13:46PM +0200, Anton Khirnov wrote: On Wed, 24 Oct 2012 11:47:24 +0200, Diego Biurrun di...@biurrun.de wrote: On Thu, Aug 09, 2012 at 02:38:18AM +0200, Diego Biurrun wrote: On Thu, Feb 23, 2012 at 08:28:35PM +0100, Anton Khirnov wrote: Module: libav

Re: [libav-devel] [PATCH 1/1] h263: avoid memcpys over array bound in motion vector caching for obmc

2012-10-24 Thread Måns Rullgård
Janne Grunau janne-li...@jannau.net writes: Also changes existing AV_COPY32 calls to the unaligned variant. Fixes CID602232. --- libavcodec/mpegvideo_motion.c | 40 1 file changed, 24 insertions(+), 16 deletions(-) diff --git

[libav-devel] [PATCH 1/1] h263: avoid memcpys over array bound in motion vector caching for obmc

2012-10-24 Thread Janne Grunau
Fixes CID602232. --- libavcodec/mpegvideo_motion.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/libavcodec/mpegvideo_motion.c b/libavcodec/mpegvideo_motion.c index 22948e2..9168793 100644 --- a/libavcodec/mpegvideo_motion.c +++

[libav-devel] [PATCH 1/1] avconv: fix bitrate report when writing to /dev/null

2012-10-24 Thread Janne Grunau
avio_size() reports the filesize which returns 0 for /dev/null. avio_tell() reports the current position. Also handle errors from avio_tell(). --- avconv.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/avconv.c b/avconv.c index bf1e2fa..54a0e2a 100644 --- a/avconv.c

Re: [libav-devel] ffv1.3 framemd5: segmentation fault

2012-10-24 Thread Peter B.
I've just seen that it also segfaults with files produced by avconv: //--- $ avconv -i waterfall_cif.y4m -an -vcodec ffv1 -level 3 -context 1 -coder 1 -g 300 -threads 8 -strict experimental -slices 30 -slicecrc 1 waterfall_ffv1.avi - avconv

Re: [libav-devel] [PATCH 1/4] configure: generalise 64-bit test

2012-10-24 Thread Janne Grunau
On 2012-10-24 14:27:09 +0200, Luca Barbato wrote: On 10/24/2012 01:33 PM, Mans Rullgard wrote: Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) The patchset looks ok. +1 Janne

Re: [libav-devel] [PATCH 1/4] configure: generalise 64-bit test

2012-10-24 Thread Diego Biurrun
On Wed, Oct 24, 2012 at 04:57:10PM +0200, Janne Grunau wrote: On 2012-10-24 14:27:09 +0200, Luca Barbato wrote: On 10/24/2012 01:33 PM, Mans Rullgard wrote: Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

[libav-devel] [PATCH 01/45] lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decoders

2012-10-24 Thread Justin Ruggles
--- libavcodec/internal.h |2 ++ libavcodec/pcm.c |6 ++ libavcodec/utils.c|3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index e5b1958..231d4b6 100644 --- a/libavcodec/internal.h +++

[libav-devel] [PATCH 04/45] amrnbdec: set channels, channel_layout, and sample_rate

2012-10-24 Thread Justin Ruggles
Only mono 8kHz is supported. --- libavcodec/amrnbdec.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c index 2cb06a6..2196645 100644 --- a/libavcodec/amrnbdec.c +++ b/libavcodec/amrnbdec.c @@ -43,6 +43,7 @@

[libav-devel] [PATCH 05/45] amrwbdec: set channels, channel_layout, and sample_rate

2012-10-24 Thread Justin Ruggles
Only mono 16kHz is supported. --- libavcodec/amrwbdec.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c index 5cc96ab..3b9ca05 100644 --- a/libavcodec/amrwbdec.c +++ b/libavcodec/amrwbdec.c @@ -24,6 +24,7 @@ * AMR

[libav-devel] [PATCH 28/45] libopencore-amr: set channel layout for amr-nb or if not set by the user

2012-10-24 Thread Justin Ruggles
--- libavcodec/libopencore-amr.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index 9a543b4..a754d52 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -19,6 +19,7 @@

Re: [libav-devel] [PATCH 02/45] lavc: check channel count after decoder init

2012-10-24 Thread Luca Barbato
On 10/24/2012 03:59 PM, Justin Ruggles wrote: On 10/24/2012 06:02 AM, Luca Barbato wrote: On 10/23/12 11:43 PM, Justin Ruggles wrote: Ensures the decoder did not set channel count to an insanely high value during initialization, which could cause large memory usage when it tries to get a

Re: [libav-devel] [PATCH 1/1] avconv: fix bitrate report when writing to /dev/null

2012-10-24 Thread Luca Barbato
On 10/24/2012 04:51 PM, Janne Grunau wrote: avio_size() reports the filesize which returns 0 for /dev/null. avio_tell() reports the current position. Ok. ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] ffv1.3 framemd5: segmentation fault

2012-10-24 Thread Luca Barbato
On 10/24/2012 04:52 PM, Peter B. wrote: I've just seen that it also segfaults with files produced by avconv: if the files produced with avconv work in ffplay then at least we know that the encoder works as intended. I'll check what I overlooked in the -coder 1 and -coder 2 path and hopefully

Re: [libav-devel] [PATCH 04/45] amrnbdec: set channels, channel_layout, and sample_rate

2012-10-24 Thread Martin Storsjö
On Wed, 24 Oct 2012, Justin Ruggles wrote: Only mono 8kHz is supported. --- libavcodec/amrnbdec.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c index 2cb06a6..2196645 100644 --- a/libavcodec/amrnbdec.c +++

Re: [libav-devel] [PATCH 05/45] amrwbdec: set channels, channel_layout, and sample_rate

2012-10-24 Thread Martin Storsjö
On Wed, 24 Oct 2012, Justin Ruggles wrote: Only mono 16kHz is supported. --- libavcodec/amrwbdec.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c index 5cc96ab..3b9ca05 100644 --- a/libavcodec/amrwbdec.c +++

Re: [libav-devel] [PATCH 28/45] libopencore-amr: set channel layout for amr-nb or if not set by the user

2012-10-24 Thread Martin Storsjö
On Wed, 24 Oct 2012, Justin Ruggles wrote: --- libavcodec/libopencore-amr.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index 9a543b4..a754d52 100644 --- a/libavcodec/libopencore-amr.c +++

[libav-devel] [PATCH 1/2] dv: use AVStream.index instead of abusing AVStream.id

2012-10-24 Thread Anton Khirnov
--- libavformat/dv.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dv.c b/libavformat/dv.c index 70786b1..17c545c 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -372,7 +372,7 @@ int avpriv_dv_produce_packet(DVDemuxContext *c, AVPacket *pkt,

[libav-devel] [PATCH 2/2] dv: fix indentation

2012-10-24 Thread Anton Khirnov
--- libavformat/dv.c | 60 +++--- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/libavformat/dv.c b/libavformat/dv.c index 17c545c..f89a37c 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -230,24 +230,24 @@ static int

Re: [libav-devel] [PATCH 2/2] dv: fix indentation

2012-10-24 Thread Diego Biurrun
On Wed, Oct 24, 2012 at 06:17:53PM +0200, Anton Khirnov wrote: --- libavformat/dv.c | 60 +++--- 1 file changed, 30 insertions(+), 30 deletions(-) OK --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -339,16 +339,16 @@ int

Re: [libav-devel] [PATCH] avutil: Move memcpy_backptr() to mem.c

2012-10-24 Thread Diego Biurrun
On Tue, Oct 23, 2012 at 08:20:26PM +0200, Diego Biurrun wrote: The function is used elsewhere and does not belong with the LZO code. --- Rebased on top of the patches that removed padding requirements. libavcodec/dfa.c |2 +- libavcodec/eatgv.c|2 +- libavcodec/g723_1.c

Re: [libav-devel] [PATCH 5/5] avutil: Make LZO decoder code configure-time selectable

2012-10-24 Thread Diego Biurrun
On Thu, Oct 18, 2012 at 07:50:31PM +0200, Diego Biurrun wrote: --- configure |6 +- libavcodec/Makefile |1 - libavformat/matroskadec.c |9 +++-- libavutil/Makefile|6 -- 4 files changed, 16 insertions(+), 6 deletions(-) OKed by

Re: [libav-devel] [PATCH] x86inc: support stack mem allocation and re-alignment in PROLOGUE.

2012-10-24 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: From: Ronald S. Bultje rsbul...@gmail.com Use this in VP8/H264-8bit loopfilter functions so they can be used if there is no aligned stack (e.g. MSVC 32bit or ICC 10.x). --- libavcodec/x86/h264_deblock.asm | 27 ++-

Re: [libav-devel] [PATCH 18/45] flacdec: use av_samples_* functions for sample buffer allocation

2012-10-24 Thread Anton Khirnov
On Tue, 23 Oct 2012 17:43:33 -0400, Justin Ruggles justin.rugg...@gmail.com wrote: Also, return an error on allocation failure. --- libavcodec/flacdec.c | 43 +-- 1 files changed, 29 insertions(+), 14 deletions(-) diff --git

Re: [libav-devel] [PATCH 3/3] avconv: warn about inappropriate output stream format

2012-10-24 Thread Tomas Härdin
Oh boy, here we go. On Wed, 2012-10-24 at 12:10 +0200, Kostya Shishkov wrote: @@ -1605,6 +1606,12 @@ static int transcode_init(void) codec-codec_tag = icodec-codec_tag; } +desc = avcodec_descriptor_get(codec-codec_id); +if (desc

[libav-devel] Raw demuxers cleanup

2012-10-24 Thread Luca Barbato
Here an initial set of patches to clean up a little rawdec. All started while I was working on rawdata muxer/demuxer (not avdevice, those will come a little later) for my little project of supporting generic data. Possibly I'd get avfilter to support text data so we can output statistics as a

[libav-devel] [PATCH 1/4] rawvideo: use a specific read_header

2012-10-24 Thread Luca Barbato
ff_raw_read_header is used only for this demuxer for video. --- libavformat/Makefile | 2 +- libavformat/rawvideodec.c | 68 ++- 2 files changed, 62 insertions(+), 8 deletions(-) diff --git a/libavformat/Makefile b/libavformat/Makefile index

[libav-devel] [PATCH 2/4] g722: refactor out of rawdec.c

2012-10-24 Thread Luca Barbato
--- libavformat/Makefile | 2 +- libavformat/g722.c | 58 libavformat/rawdec.c | 12 --- 3 files changed, 59 insertions(+), 13 deletions(-) create mode 100644 libavformat/g722.c diff --git a/libavformat/Makefile

[libav-devel] [PATCH 3/4] pcmdec: remove dependency from rawdec

2012-10-24 Thread Luca Barbato
The code shared is not actually shared with anything else. --- libavformat/Makefile | 40 libavformat/pcmdec.c | 37 +++-- 2 files changed, 55 insertions(+), 22 deletions(-) diff --git a/libavformat/Makefile

[libav-devel] [PATCH 4/4] rawdec: remove ff_raw_read_header

2012-10-24 Thread Luca Barbato
It is not used anymore and is a kludge. --- libavformat/rawdec.c | 70 libavformat/rawdec.h | 8 -- 2 files changed, 78 deletions(-) diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index fd1e9b9..1c9aabd 100644 ---

Re: [libav-devel] [PATCH 3/3] avconv: warn about inappropriate output stream format

2012-10-24 Thread Luca Barbato
On 10/24/2012 04:15 PM, Tomas Härdin wrote: Oh boy, here we go. On Wed, 2012-10-24 at 12:10 +0200, Kostya Shishkov wrote: @@ -1605,6 +1606,12 @@ static int transcode_init(void) codec-codec_tag = icodec-codec_tag; } +desc =

Re: [libav-devel] [PATCH 1/4] rawvideo: use a specific read_header

2012-10-24 Thread Janne Grunau
On 2012-10-24 21:19:40 +0200, Luca Barbato wrote: ff_raw_read_header is used only for this demuxer for video. --- libavformat/Makefile | 2 +- libavformat/rawvideodec.c | 68 ++- 2 files changed, 62 insertions(+), 8 deletions(-) diff

Re: [libav-devel] [PATCH 3/4] pcmdec: remove dependency from rawdec

2012-10-24 Thread Janne Grunau
On 2012-10-24 21:19:42 +0200, Luca Barbato wrote: The code shared is not actually shared with anything else. --- libavformat/Makefile | 40 libavformat/pcmdec.c | 37 +++-- 2 files changed, 55 insertions(+), 22

Re: [libav-devel] [PATCH 4/4] rawdec: remove ff_raw_read_header

2012-10-24 Thread Janne Grunau
On 2012-10-24 21:19:43 +0200, Luca Barbato wrote: It is not used anymore and is a kludge. --- libavformat/rawdec.c | 70 libavformat/rawdec.h | 8 -- 2 files changed, 78 deletions(-) ok Janne

Re: [libav-devel] [PATCH 2/4] g722: refactor out of rawdec.c

2012-10-24 Thread Janne Grunau
On 2012-10-24 21:19:41 +0200, Luca Barbato wrote: --- libavformat/Makefile | 2 +- libavformat/g722.c | 58 libavformat/rawdec.c | 12 --- 3 files changed, 59 insertions(+), 13 deletions(-) create mode 100644

Re: [libav-devel] [PATCH] x86inc: support stack mem allocation and re-alignment in PROLOGUE.

2012-10-24 Thread Ronald S. Bultje
Hi, On Wed, Oct 24, 2012 at 10:07 AM, Måns Rullgård m...@mansr.com wrote: Ronald S. Bultje rsbul...@gmail.com writes: From: Ronald S. Bultje rsbul...@gmail.com Use this in VP8/H264-8bit loopfilter functions so they can be used if there is no aligned stack (e.g. MSVC 32bit or ICC 10.x). ---

Re: [libav-devel] [PATCH 1/4] aacdec: use float planar sample format for output

2012-10-24 Thread Alex Converse
On Sun, Oct 14, 2012 at 2:40 PM, Justin Ruggles justin.rugg...@gmail.com wrote: --- libavcodec/aac.h|7 ++- libavcodec/aacdec.c | 104 +++ libavcodec/aacsbr.c |6 +-- 3 files changed, 69 insertions(+), 48 deletions(-) diff

Re: [libav-devel] [PATCH 3/3] avconv: warn about inappropriate output stream format

2012-10-24 Thread Kostya Shishkov
On Wed, Oct 24, 2012 at 09:27:57PM +0200, Luca Barbato wrote: On 10/24/2012 04:15 PM, Tomas Härdin wrote: Oh boy, here we go. On Wed, 2012-10-24 at 12:10 +0200, Kostya Shishkov wrote: @@ -1605,6 +1606,12 @@ static int transcode_init(void) codec-codec_tag =