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

2012-10-23 Thread Anton Khirnov
On Wed, 17 Oct 2012 21:41:42 +0200, Anton Khirnov 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 possible with >

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

2012-10-23 Thread Justin Ruggles
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 a/libavcodec/dca_parser.c b/libavcodec/dca_parser.c >> index 7e65d0b..

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

2012-10-23 Thread Anton Khirnov
On Tue, 23 Oct 2012 17:43:16 -0400, Justin Ruggles wrote: > --- > libavcodec/internal.h |2 ++ > libavcodec/pcm.c |4 ++-- > libavcodec/utils.c|3 +-- > 3 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/internal.h b/libavcodec/internal.h > index

Re: [libav-devel] [PATCH 45/45] ws-snd1: set channel layout

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:44:00PM -0400, Justin Ruggles wrote: > --- > libavcodec/ws-snd1.c | 11 +-- > 1 files changed, 5 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c > index 880ae85..05cb31c 100644 > --- a/libavcodec/ws-snd1.c > +++ b/lib

Re: [libav-devel] [PATCH 44/45] wmavoice: set channel layout

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:59PM -0400, Justin Ruggles wrote: > --- > libavcodec/wmavoice.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c > index 63caad2..d0ba667 100644 > --- a/libavcodec/wmavoice.c > +++ b/libavco

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

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:58PM -0400, Justin Ruggles wrote: > --- > libavcodec/wmaprodec.c | 52 +++ > 1 files changed, 25 insertions(+), 27 deletions(-) LGTM ___ libav-devel mailing list libav-devel@lib

Re: [libav-devel] [PATCH 41/45] vmdaudio: set channel layout

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:56PM -0400, Justin Ruggles wrote: > --- > libavcodec/vmdav.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c > index 5776d92..6efc9e7 100644 > --- a/libavcodec/vmdav.c > +++ b/libavcodec/vmdav.c

Re: [libav-devel] [PATCH 37/45] truespeech: set channel layout

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:52PM -0400, Justin Ruggles wrote: > --- > libavcodec/truespeech.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c > index bbee146..efe5f45 100644 > --- a/libavcodec/truespeech.c > +++

Re: [libav-devel] [PATCH 35/45] shorten: validate that the channel count in the header is not <= 0

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:50PM -0400, Justin Ruggles wrote: > --- > libavcodec/shorten.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c > index 1664a90..be2b8e2 100644 > --- a/libavcodec/shorten.c > +++ b/libavcodec/s

Re: [libav-devel] [PATCH 34/45] ra288dec: set channel layout

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:49PM -0400, Justin Ruggles wrote: > --- > libavcodec/ra288.c |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c > index 1d02c7b..e080d2b 100644 > --- a/libavcodec/ra288.c > +++ b/libavcodec/ra28

Re: [libav-devel] [PATCH 33/45] ra144dec: set channel layout

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:48PM -0400, Justin Ruggles wrote: > --- > libavcodec/ra144dec.c |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/ra144dec.c b/libavcodec/ra144dec.c > index 0cb4f86..cee3892 100644 > --- a/libavcodec/ra144dec.c > +++ b/libav

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

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:41PM -0400, Justin Ruggles wrote: > --- > libavcodec/dpcm.c | 14 ++ > 1 files changed, 6 insertions(+), 8 deletions(-) LGTM ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/l

Re: [libav-devel] [PATCH 25/45] imc: set channels to 1 instead of validating it

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:40PM -0400, Justin Ruggles wrote: > --- > libavcodec/imc.c |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/imc.c b/libavcodec/imc.c > index 1156e8a..4c2d01d 100644 > --- a/libavcodec/imc.c > +++ b/libavcodec/imc.c > @@ -1

Re: [libav-devel] [PATCH 22/45] g726dec: do not validate sample rate

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:37PM -0400, Justin Ruggles wrote: > For decoding it does not really matter what the sample rate is. > --- > libavcodec/g726.c |8 > 1 files changed, 0 insertions(+), 8 deletions(-) > > diff --git a/libavcodec/g726.c b/libavcodec/g726.c > index ed4bd26..9

Re: [libav-devel] [PATCH 21/45] g726dec: set channel layout at initialization instead of validating it

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:36PM -0400, Justin Ruggles wrote: > --- > libavcodec/g726.c |8 > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/g726.c b/libavcodec/g726.c > index 7fa2be3..ed4bd26 100644 > --- a/libavcodec/g726.c > +++ b/libavcodec/g726.c

Re: [libav-devel] [PATCH 09/45] bmvaudio: set channel layout at init() rather than validating it

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:24PM -0400, Justin Ruggles wrote: > --- > libavcodec/bmv.c | 10 -- > 1 files changed, 4 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/bmv.c b/libavcodec/bmv.c > index 469..53781e7 100644 > --- a/libavcodec/bmv.c > +++ b/libavcodec/bmv.c > @

Re: [libav-devel] [PATCH 07/45] dsicinaudio: set channels and channel layout

2012-10-23 Thread Kostya Shishkov
On Tue, Oct 23, 2012 at 05:43:22PM -0400, Justin Ruggles wrote: > --- > libavcodec/dsicinav.c | 12 +--- > 1 files changed, 5 insertions(+), 7 deletions(-) > > diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c > index 1492717..2dcbf74 100644 > --- a/libavcodec/dsicinav.c > +++

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

2012-10-23 Thread Kostya Shishkov
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 a/libavcodec/dca_parser.c b/libavcodec/dca_parser.c > index 7e65d0b..ab235cf 100644 > --- a/libavcodec/dca_parser.c > +++ b

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

2012-10-23 Thread Justin Ruggles
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 b/libavcodec/libopencore-amr.c >> index 9a543b4.

Re: [libav-devel] [PATCH 16/45] cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR

2012-10-23 Thread Diego Biurrun
On Tue, Oct 23, 2012 at 05:43:31PM -0400, Justin Ruggles wrote: > --- > libavcodec/cook.c |8 > 1 files changed, 4 insertions(+), 4 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/li

Re: [libav-devel] [PATCH 29/45] nellymoserdec: set channels to 1

2012-10-23 Thread Martin Storsjö
On Tue, 23 Oct 2012, Justin Ruggles wrote: --- libavcodec/nellymoserdec.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index fce184a..f17e9fd 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.

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

2012-10-23 Thread Martin Storsjö
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 b/libavcodec/libopencore-amr.c index 9a543b4..dcee34d 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcod

Re: [libav-devel] [PATCH 06/45] g722dec: set channel layout at initialization instead of validating it

2012-10-23 Thread Martin Storsjö
On Tue, 23 Oct 2012, Justin Ruggles wrote: --- libavcodec/g722dec.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c index ea06ce0..3364850 100644 --- a/libavcodec/g722dec.c +++ b/libavcodec/g722dec.c @@ -34,6 +34,7 @@ *

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

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

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

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

Re: [libav-devel] [PATCH 23/45] libgsmdec: always set channel layout and sample rate at initialization

2012-10-23 Thread Martin Storsjö
On Tue, 23 Oct 2012, Justin Ruggles wrote: Only mono 8kHz is supported. --- libavcodec/libgsm.c | 18 +- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c index e6d435b..afed710 100644 --- a/libavcodec/libgsm.c +++ b/libavc

Re: [libav-devel] [PATCH 24/45] gsmdec: always set channel layout and sample rate at initialization

2012-10-23 Thread Martin Storsjö
On Tue, 23 Oct 2012, Justin Ruggles wrote: Only mono 8kHz is supported. --- libavcodec/gsmdec.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libavcodec/gsmdec.c b/libavcodec/gsmdec.c index a5e0d7d..14b7e03 100644 --- a/libavcodec/gsmdec.c +++ b/libavcodec/gsmde

Re: [libav-devel] [PATCH 27/45] libilbc: set channel layout

2012-10-23 Thread Martin Storsjö
On Tue, 23 Oct 2012, Justin Ruggles wrote: --- libavcodec/libilbc.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c index a93285c..2812061 100644 --- a/libavcodec/libilbc.c +++ b/libavcodec/libilbc.c @@ -21,6 +21,7 @@ #i

[libav-devel] [PATCH 45/45] ws-snd1: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/ws-snd1.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c index 880ae85..05cb31c 100644 --- a/libavcodec/ws-snd1.c +++ b/libavcodec/ws-snd1.c @@ -20,6 +20,8 @@ */ #include + +#include "libavutil/aud

[libav-devel] [PATCH 43/45] wmapro: use AVCodecContext.channels instead of keeping a private copy

2012-10-23 Thread Justin Ruggles
--- libavcodec/wmaprodec.c | 52 +++ 1 files changed, 25 insertions(+), 27 deletions(-) diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index d172895..43fdbc0 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -184,7 +184

[libav-devel] [PATCH 44/45] wmavoice: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/wmavoice.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index 63caad2..d0ba667 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -29,6 +29,7 @@ #include +#include "libavutil/audioconver

[libav-devel] [PATCH 41/45] vmdaudio: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/vmdav.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c index 5776d92..6efc9e7 100644 --- a/libavcodec/vmdav.c +++ b/libavcodec/vmdav.c @@ -43,6 +43,7 @@ #include #include +#include "libavutil/audioconvert.h"

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

2012-10-23 Thread Justin Ruggles
channels, sample_rate, bit_rate, and block_align can be used directly from the AVCodecContext --- libavcodec/wma.c| 36 libavcodec/wma.h|4 libavcodec/wmadec.c | 34 +- libavcodec/wmaenc.c | 30

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

2012-10-23 Thread Justin Ruggles
A large invalid value could cause undefined behavior when left-shifted by 8 later in the function. --- libavcodec/twinvq.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 3159e49..7af370e 100644 --- a/libavcodec/twinvq.c

[libav-devel] [PATCH 37/45] truespeech: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/truespeech.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c index bbee146..efe5f45 100644 --- a/libavcodec/truespeech.c +++ b/libavcodec/truespeech.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin St

[libav-devel] [PATCH 39/45] twinvq: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/twinvq.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 50ee626..3159e49 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, B

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

2012-10-23 Thread Justin Ruggles
This could occur due to integer overflow when reading the channel count from the extradata. --- libavcodec/twinvq.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index d009196..50ee626 100644 --- a/libavcodec/twinvq.c +++ b/liba

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/sipr.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c index 1e9168a..9db0923 100644 --- a/libavcodec/sipr.c +++ b/libavcodec/sipr.c @@ -25,6 +25,7 @@ #include #include +#include "libavutil/audioconvert.h" #in

[libav-devel] [PATCH 34/45] ra288dec: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/ra288.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 1d02c7b..e080d2b 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Bos

[libav-devel] [PATCH 35/45] shorten: validate that the channel count in the header is not <= 0

2012-10-23 Thread Justin Ruggles
--- libavcodec/shorten.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index 1664a90..be2b8e2 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -342,7 +342,7 @@ static int read_header(ShortenContext *s) s->i

[libav-devel] [PATCH 32/45] qdm2: remove unneeded checks for channel count

2012-10-23 Thread Justin Ruggles
--- libavcodec/qdm2.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 8e93886..a094e6c 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -544,10 +544,6 @@ static void fill_tone_level_array (QDM2Context *q, int fla

[libav-devel] [PATCH 33/45] ra144dec: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/ra144dec.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/libavcodec/ra144dec.c b/libavcodec/ra144dec.c index 0cb4f86..cee3892 100644 --- a/libavcodec/ra144dec.c +++ b/libavcodec/ra144dec.c @@ -22,6 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fif

[libav-devel] [PATCH 30/45] qcelpdec: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/qcelpdec.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c index edb1d24..9c2b354 100644 --- a/libavcodec/qcelpdec.c +++ b/libavcodec/qcelpdec.c @@ -29,6 +29,7 @@ #include +#include "libavutil/audioconv

[libav-devel] [PATCH 31/45] qdm2: make sure channels is not <= 0 and set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/qdm2.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 4d3b391..8e93886 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -36,6 +36,7 @@ #include #define BITSTREAM_READER_LE +#include "libavutil/au

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/libopencore-amr.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index 9a543b4..dcee34d 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -19,6 +19,7 @@ * F

[libav-devel] [PATCH 29/45] nellymoserdec: set channels to 1

2012-10-23 Thread Justin Ruggles
--- libavcodec/nellymoserdec.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index fce184a..f17e9fd 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -129,6 +129,7 @@ static av_cold int dec

[libav-devel] [PATCH 25/45] imc: set channels to 1 instead of validating it

2012-10-23 Thread Justin Ruggles
--- libavcodec/imc.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 1156e8a..4c2d01d 100644 --- a/libavcodec/imc.c +++ b/libavcodec/imc.c @@ -175,8 +175,10 @@ static av_cold int imc_decode_init(AVCodecContext *avctx) IMC

[libav-devel] [PATCH 27/45] libilbc: set channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/libilbc.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c index a93285c..2812061 100644 --- a/libavcodec/libilbc.c +++ b/libavcodec/libilbc.c @@ -21,6 +21,7 @@ #include +#include "libavutil/audioconver

[libav-devel] [PATCH 26/45] dpcm: use AVCodecContext.channels instead of keeping a private copy

2012-10-23 Thread Justin Ruggles
--- libavcodec/dpcm.c | 14 ++ 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c index f9aff98..fb1c7ce 100644 --- a/libavcodec/dpcm.c +++ b/libavcodec/dpcm.c @@ -44,7 +44,6 @@ typedef struct DPCMContext { AVFrame frame; -

[libav-devel] [PATCH 23/45] libgsmdec: always set channel layout and sample rate at initialization

2012-10-23 Thread Justin Ruggles
Only mono 8kHz is supported. --- libavcodec/libgsm.c | 18 +- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c index e6d435b..afed710 100644 --- a/libavcodec/libgsm.c +++ b/libavcodec/libgsm.c @@ -29,6 +29,7 @@ #include

[libav-devel] [PATCH 24/45] gsmdec: always set channel layout and sample rate at initialization

2012-10-23 Thread Justin Ruggles
Only mono 8kHz is supported. --- libavcodec/gsmdec.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libavcodec/gsmdec.c b/libavcodec/gsmdec.c index a5e0d7d..14b7e03 100644 --- a/libavcodec/gsmdec.c +++ b/libavcodec/gsmdec.c @@ -24,6 +24,7 @@ * GSM decoder */

[libav-devel] [PATCH 22/45] g726dec: do not validate sample rate

2012-10-23 Thread Justin Ruggles
For decoding it does not really matter what the sample rate is. --- libavcodec/g726.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/libavcodec/g726.c b/libavcodec/g726.c index ed4bd26..91b5e54 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -422,14 +422,

[libav-devel] [PATCH 21/45] g726dec: set channel layout at initialization instead of validating it

2012-10-23 Thread Justin Ruggles
--- libavcodec/g726.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/g726.c b/libavcodec/g726.c index 7fa2be3..ed4bd26 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -22,6 +22,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,

[libav-devel] [PATCH 20/45] flacdec: do not warn on sample rate change

2012-10-23 Thread Justin Ruggles
--- libavcodec/flacdec.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 20af820..10e33f2 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -460,12 +460,8 @@ static int decode_frame(FLACContext *s)

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

2012-10-23 Thread Justin Ruggles
Also, return an error on allocation failure. --- libavcodec/flacdec.c | 43 +-- 1 files changed, 29 insertions(+), 14 deletions(-) diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index a1fdc35..4ecf5f2 100644 --- a/libavcodec/flacdec.c +++ b/liba

[libav-devel] [PATCH 19/45] flacdec: allow mid-stream channel layout change

2012-10-23 Thread Justin Ruggles
Although the libFLAC decoder cannot handle such a change, it is allowed by the spec and could potentially occur with live streams. --- libavcodec/flac.c| 19 +++ libavcodec/flac.h|3 +++ libavcodec/flac_parser.c |1 + libavcodec/flacdec.c | 27 ++

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/dcadec.c | 18 +- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index eb12eb2..026c572 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -317,7 +317,6 @@ typedef struct { /* Primary audi

[libav-devel] [PATCH 16/45] cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR

2012-10-23 Thread Justin Ruggles
--- libavcodec/cook.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 15e3c08..f492c70 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1029,14 +1029,14 @@ static int cook_decode_frame(AVCodecContext *avctx, voi

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/cook.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 1c43919..15e3c08 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -72,7 +72,6 @@ typedef struct { int size; int

[libav-devel] [PATCH 14/45] cook: use av_get_channel_layout_nb_channels() instead of cook_count_channels()

2012-10-23 Thread Justin Ruggles
--- libavcodec/cook.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 09b0f53..1c43919 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1051,16 +1051,6 @@ static void dump_cook_context(COOKContext *q) } #e

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/cook.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 6a42b3c..09b0f53 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1261,9 +1261,8 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)

[libav-devel] [PATCH 12/45] cook: remove unneeded COOKContext variable, sample_rate

2012-10-23 Thread Justin Ruggles
--- libavcodec/cook.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 171c30c..6a42b3c 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -126,7 +126,6 @@ typedef struct cook { AVFrame frame; GetBi

[libav-devel] [PATCH 09/45] bmvaudio: set channel layout at init() rather than validating it

2012-10-23 Thread Justin Ruggles
--- libavcodec/bmv.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libavcodec/bmv.c b/libavcodec/bmv.c index 469..53781e7 100644 --- a/libavcodec/bmv.c +++ b/libavcodec/bmv.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/cook.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index fd90470..171c30c 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -126,7 +126,6 @@ typedef struct cook { AVFrame frame; GetBi

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/cook.c | 14 ++ 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index c5b17f9..fd90470 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -126,7 +126,6 @@ typedef struct cook { AVFrame frame;

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/atrac1.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c index 7e78c73..b746a54 100644 --- a/libavcodec/atrac1.c +++ b/libavcodec/atrac1.c @@ -80,7 +80,6 @@ typedef struct { DECLARE_ALIGNED(32, float, high)

[libav-devel] [PATCH 07/45] dsicinaudio: set channels and channel layout

2012-10-23 Thread Justin Ruggles
--- libavcodec/dsicinav.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c index 1492717..2dcbf74 100644 --- a/libavcodec/dsicinav.c +++ b/libavcodec/dsicinav.c @@ -24,6 +24,7 @@ * Delphine Software International CI

[libav-devel] [PATCH 06/45] g722dec: set channel layout at initialization instead of validating it

2012-10-23 Thread Justin Ruggles
--- libavcodec/g722dec.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c index ea06ce0..3364850 100644 --- a/libavcodec/g722dec.c +++ b/libavcodec/g722dec.c @@ -34,6 +34,7 @@ * respectively of each byte are ignore

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

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

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

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

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

2012-10-23 Thread Justin Ruggles
--- libavcodec/dca_parser.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/libavcodec/dca_parser.c b/libavcodec/dca_parser.c index 7e65d0b..ab235cf 100644 --- a/libavcodec/dca_parser.c +++ b/libavcodec/dca_parser.c @@ -192,8 +192,7 @@ static int dca_parse(AVCodecParserC

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

2012-10-23 Thread Justin Ruggles
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(+), 0 deletions(-) diff --git a/libavcodec/utils.c

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

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

[libav-devel] [PATCH 00/45] audio decoder parameter-related clean-ups

2012-10-23 Thread Justin Ruggles
Mostly related to channel layout and sample rate. Also reduces some usage of private context copies of AVCodecContext fields. Justin Ruggles (45): lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decoders lavc: check channel count after decoder init dca_parser: allow the

Re: [libav-devel] [PATCH] Add a blue color to visited links.

2012-10-23 Thread Luca Barbato
On 10/23/2012 08:26 PM, Aneesh Dogra wrote: > --- > htdocs/css/bootstrap.css |4 > 1 file changed, 4 insertions(+) I'd rather not, but if everybody else is hell bent a purple on the same saturation of the link blue could be used. lu ___ libav

Re: [libav-devel] [PATCH] lavfi: add ashowinfo filter

2012-10-23 Thread Diego Biurrun
On Tue, Oct 23, 2012 at 09:40:08PM +0200, Anton Khirnov wrote: > --- a/doc/filters.texi > +++ b/doc/filters.texi > @@ -175,6 +175,47 @@ stream ends. The default value is 2 seconds. > + > +@item pts > +presentation timestamp of the input frame, in time base units. The time base > +depends on the fi

[libav-devel] [PATCH] lavfi: add ashowinfo filter

2012-10-23 Thread Anton Khirnov
It can be useful for debugging. Based on a patch by Stefano Sabatini --- Changelog |1 + doc/filters.texi | 41 ++ libavfilter/Makefile |1 + libavfilter/af_ashowinfo.c | 135 libavfilter/allfilt

[libav-devel] [PATCH] doxygen: Drop some pointless entries from PREDEFINED macros list

2012-10-23 Thread Diego Biurrun
--- doc/Doxyfile |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/doc/Doxyfile b/doc/Doxyfile index 1b4e7d5..eb394f0 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -1374,12 +1374,6 @@ INCLUDE_FILE_PATTERNS = # instead of the = operator. PREDEFINED = "

Re: [libav-devel] [PATCH] Add a blue color to visited links.

2012-10-23 Thread Justin Ruggles
Hi, On 10/23/2012 02:26 PM, Aneesh Dogra wrote: > --- > htdocs/css/bootstrap.css |4 > 1 file changed, 4 insertions(+) > > diff --git a/htdocs/css/bootstrap.css b/htdocs/css/bootstrap.css > index ca4ec73..89ef7bd 100644 > --- a/htdocs/css/bootstrap.css > +++ b/htdocs/css/bootstrap.css >

[libav-devel] [PATCH] Add a blue color to visited links.

2012-10-23 Thread Aneesh Dogra
--- htdocs/css/bootstrap.css |4 1 file changed, 4 insertions(+) diff --git a/htdocs/css/bootstrap.css b/htdocs/css/bootstrap.css index ca4ec73..89ef7bd 100644 --- a/htdocs/css/bootstrap.css +++ b/htdocs/css/bootstrap.css @@ -66,6 +66,10 @@ a:hover { color: #005580; text-decoration

Re: [libav-devel] [PATCH 4/4] doxygen: Add av_alloc_size to list of predefined macros

2012-10-23 Thread Anton Khirnov
On Mon, 22 Oct 2012 16:19:56 +0200, Diego Biurrun wrote: > This avoids Doxygen believing the attribute is the function name. > --- > doc/Doxyfile |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/doc/Doxyfile b/doc/Doxyfile > index 1b4e7d5..6fd0bd9 100644 > --- a/d

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

2012-10-23 Thread Diego Biurrun
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 |2 +- libavcodec/lcldec.c |2 +- libavcodec/wmavoice.c |

Re: [libav-devel] [PATCH] asfdec: cosmetics, reformat ff_asf_parse_packet()

2012-10-23 Thread Luca Barbato
On 10/23/2012 08:10 PM, Anton Khirnov wrote: > --- > libavformat/asfdec.c | 138 > ++ > 1 file changed, 72 insertions(+), 66 deletions(-) > Fine for me. lu ___ libav-devel mailing list libav-devel@lib

Re: [libav-devel] [PATCH 3/4] Move Doxyfile into the doc/ subdirectory

2012-10-23 Thread Anton Khirnov
On Mon, 22 Oct 2012 16:19:55 +0200, Diego Biurrun wrote: > --- > Doxyfile => doc/Doxyfile |0 > 1 files changed, 0 insertions(+), 0 deletions(-) > rename Doxyfile => doc/Doxyfile (100%) > > diff --git a/Doxyfile b/doc/Doxyfile > similarity index 100% > rename from Doxyfile > rename to doc/

Re: [libav-devel] [PATCH 2/4] doxygen: Build Doxygen documentation in the doc/ subdirectory

2012-10-23 Thread Anton Khirnov
On Mon, 22 Oct 2012 16:19:54 +0200, Diego Biurrun wrote: > --- > .gitignore |2 +- > Doxyfile |2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/.gitignore b/.gitignore > index 8589127..3ed55b3 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -28,8 +28,8 @@ >

[libav-devel] [PATCH] asfdec: cosmetics, reformat ff_asf_parse_packet()

2012-10-23 Thread Anton Khirnov
--- libavformat/asfdec.c | 138 ++ 1 file changed, 72 insertions(+), 66 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 5fe8e96..c6b322d 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -1002,13 +1002,15 @

Re: [libav-devel] [PATCH 1/2] Remove need for padding in av_memcpy_backptr()

2012-10-23 Thread Diego Biurrun
On Tue, Oct 23, 2012 at 06:48:55PM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > > On Tue, Oct 23, 2012 at 06:07:13PM +0100, Mans Rullgard wrote: > >> Signed-off-by: Mans Rullgard > >> --- > >> libavutil/lzo.c | 16 > >> libavutil/lzo.h | 2 +- > >> 2 files changed,

Re: [libav-devel] [PATCH 1/2] Remove need for padding in av_memcpy_backptr()

2012-10-23 Thread Måns Rullgård
Diego Biurrun writes: > On Tue, Oct 23, 2012 at 06:07:13PM +0100, Mans Rullgard wrote: >> Signed-off-by: Mans Rullgard >> --- >> libavutil/lzo.c | 16 >> libavutil/lzo.h | 2 +- >> 2 files changed, 9 insertions(+), 9 deletions(-) > > LGTM, but I think you should squash $attach

Re: [libav-devel] [PATCH] lavc: use the correct API version guard macro for avcodec_encode_audio()

2012-10-23 Thread Diego Biurrun
On Tue, Oct 23, 2012 at 01:28:50PM -0400, Justin Ruggles wrote: > --- a/libavcodec/utils.c > +++ b/libavcodec/utils.c > @@ -1076,7 +1076,7 @@ end: > > -#if FF_API_OLD_DECODE_AUDIO > +#if FF_API_OLD_ENCODE_AUDIO > int attribute_align_arg avcodec_encode_audio(AVCodecContext *avctx, >

[libav-devel] [PATCH] lavc: use the correct API version guard macro for avcodec_encode_audio()

2012-10-23 Thread Justin Ruggles
--- libavcodec/utils.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 0d83d79..b9d923b 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1076,7 +1076,7 @@ end: return ret; } -#if FF_API_OLD_DECODE_AUDIO +#i

Re: [libav-devel] [PATCH 1/2] Remove need for padding in av_memcpy_backptr()

2012-10-23 Thread Diego Biurrun
On Tue, Oct 23, 2012 at 06:07:13PM +0100, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > libavutil/lzo.c | 16 > libavutil/lzo.h | 2 +- > 2 files changed, 9 insertions(+), 9 deletions(-) LGTM, but I think you should squash $attached into it. Diego >From a276995ec

Re: [libav-devel] [PATCH 2/2] dfa: use av_memcpy_backptr() where previously impossible

2012-10-23 Thread Diego Biurrun
On Tue, Oct 23, 2012 at 06:07:14PM +0100, Mans Rullgard wrote: > Since the requirement for output padding has been lifted, we can > use av_memcpy_backptr() here as well. > > Signed-off-by: Mans Rullgard > --- > libavcodec/dfa.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) LGTM Di

[libav-devel] [PATCH 2/2] dfa: use av_memcpy_backptr() where previously impossible

2012-10-23 Thread Mans Rullgard
Since the requirement for output padding has been lifted, we can use av_memcpy_backptr() here as well. Signed-off-by: Mans Rullgard --- libavcodec/dfa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/dfa.c b/libavcodec/dfa.c index 39f0f64..5d227e9 100644 --- a/

[libav-devel] [PATCH 1/2] Remove need for padding in av_memcpy_backptr()

2012-10-23 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- libavutil/lzo.c | 16 libavutil/lzo.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libavutil/lzo.c b/libavutil/lzo.c index 101d4f4..c17d32f 100644 --- a/libavutil/lzo.c +++ b/libavutil/lzo.c @@ -132,13 +132,14 @@ static

Re: [libav-devel] [PATCH 3/3] lzo: Use AV_COPY*U macros where appropriate

2012-10-23 Thread Måns Rullgård
Diego Biurrun writes: > --- > libavutil/lzo.c | 28 > 1 files changed, 8 insertions(+), 20 deletions(-) LGTM -- Måns Rullgård m...@mansr.com ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/ma

Re: [libav-devel] [PATCH 2/3] mem: Add AV_MEMCPY_BACKPTR_OUTPUT_PADDING #define

2012-10-23 Thread Måns Rullgård
Diego Biurrun writes: > This copies the value of AV_LZO_OUTPUT_PADDING because the LZO code uses > av_memcpy_backptr internally, but is semantically independent. > --- > libavcodec/dfa.c|3 ++- > libavcodec/eatgv.c |4 ++-- > libavcodec/lcldec.c |4 +++- > libavutil/lzo.h |

Re: [libav-devel] [PATCH 1/3] lzo: Drop unused AV_LZO_INPUT_PADDING #define

2012-10-23 Thread Måns Rullgård
Diego Biurrun writes: > --- > libavutil/lzo.h |5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/libavutil/lzo.h b/libavutil/lzo.h > index e3c6c01..8a70b92 100644 > --- a/libavutil/lzo.h > +++ b/libavutil/lzo.h > @@ -43,7 +43,6 @@ > #define AV_LZO_ERROR

Re: [libav-devel] [PATCH 3/3] lzo: Use AV_COPY*U macros where appropriate

2012-10-23 Thread Måns Rullgård
Diego Biurrun writes: > On Tue, Oct 23, 2012 at 01:34:41PM +0200, Diego Biurrun wrote: >> --- a/libavutil/lzo.c >> +++ b/libavutil/lzo.c >> @@ -145,16 +133,16 @@ static inline void memcpy_backptr(uint8_t *dst, int >> back, int cnt) >> memset(dst, *src, cnt); >> } else { >> #ifdef

[libav-devel] [PATCH 2/3] mem: Add AV_MEMCPY_BACKPTR_OUTPUT_PADDING #define

2012-10-23 Thread Diego Biurrun
This copies the value of AV_LZO_OUTPUT_PADDING because the LZO code uses av_memcpy_backptr internally, but is semantically independent. --- libavcodec/dfa.c|3 ++- libavcodec/eatgv.c |4 ++-- libavcodec/lcldec.c |4 +++- libavutil/lzo.h |6 +- 4 files changed, 12 inser

[libav-devel] [PATCH 1/3] lzo: Drop unused AV_LZO_INPUT_PADDING #define

2012-10-23 Thread Diego Biurrun
--- libavutil/lzo.h |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavutil/lzo.h b/libavutil/lzo.h index e3c6c01..8a70b92 100644 --- a/libavutil/lzo.h +++ b/libavutil/lzo.h @@ -43,7 +43,6 @@ #define AV_LZO_ERROR 8 /** @} */ -#define AV_LZO_INPUT_PADDIN

  1   2   >