Re: [libav-devel] [PATCH 2/2] smacker: Sanity check huffman tables found in the headers.

2012-01-25 Thread Kostya Shishkov
On Wed, Jan 25, 2012 at 04:51:23PM -0800, Alex Converse wrote: > Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind > --- > libavcodec/smacker.c | 22 +- > 1 files changed, 13 insertions(+), 9 deletions(-) looks OK ___ libav-de

Re: [libav-devel] [PATCH 01/28] lavc: increase major version to 54.

2012-01-25 Thread Kostya Shishkov
On Wed, Jan 25, 2012 at 09:17:13PM +0100, Anton Khirnov wrote: > The lavf-ffm test results change because ffmenc writes > AVCodecContext.flags/flags2 and the defaults for those change. > --- > doc/APIchanges |2 +- > libavcodec/version.h |4 ++-- > tests/ref/lavf/ffm |2 +- > 3

Re: [libav-devel] [PATCH] XWD regression testing

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 08:15:34PM +, Paul B Mahol wrote: > --- > tests/lavf-regression.sh |4 > tests/ref/lavf/xwd |3 +++ > 2 files changed, 7 insertions(+), 0 deletions(-) > create mode 100644 tests/ref/lavf/xwd Thanks, pushed. Diego ___

Re: [libav-devel] [PATCH 1/2] smacker: remove dead store

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 04:51:22PM -0800, Alex Converse wrote: > --- > libavcodec/smacker.c |4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/list

[libav-devel] [PATCH 2/2] smacker: Sanity check huffman tables found in the headers.

2012-01-25 Thread Alex Converse
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind --- libavcodec/smacker.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 1624e6a..44331f2 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smack

[libav-devel] [PATCH 1/2] smacker: remove dead store

2012-01-25 Thread Alex Converse
--- libavcodec/smacker.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 0c7c405..1624e6a 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -334,16 +334,14 @@ static av_always_inline void last_reset(int *re

Re: [libav-devel] [PATCH] qdm2: Check data block size for bytes to bits overflow.

2012-01-25 Thread Janne Grunau
On 2012-01-25 15:28:48 -0800, Alex Converse wrote: > Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind > > CC: libav-sta...@libav.org > --- > libavcodec/qdm2.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c > index 91c4

[libav-devel] [PATCH] qdm2: Check data block size for bytes to bits overflow.

2012-01-25 Thread Alex Converse
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org --- libavcodec/qdm2.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 91c47a8..6acb7d8 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @

Re: [libav-devel] [PATCH 1/1] lavf: prevent infinite loops while flushing in avformat_find_stream_info

2012-01-25 Thread Alex Converse
On Fri, Jan 20, 2012 at 8:34 AM, Janne Grunau wrote: > If no data was seen for a stream decoder are returning 0 when fed with > empty packets for flushing. We can stop flushing when the decoder does > not return delayed delayed frames anymore. Changes try_decode_frame() > return value to got_pictu

Re: [libav-devel] [PATCH] matroskadec: Pad AAC extradata.

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Alex Converse wrote: Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind --- libavformat/matroskadec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index e5fbd43..5b91944 100644 --- a/libavf

[libav-devel] [PATCH] matroskadec: Pad AAC extradata.

2012-01-25 Thread Alex Converse
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind --- libavformat/matroskadec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index e5fbd43..5b91944 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matro

Re: [libav-devel] [PATCH] mjpegbdec: Fix overflow in SOS.

2012-01-25 Thread Alex Converse
On Wed, Jan 25, 2012 at 1:43 PM, Alex Converse wrote: > In the fate sample field_size is larger than the number of bytes > remaining in the buffer. Furthermore the bytes to bits conversion was > prone to integer overflow when sizing the GetBitContext. > > Found-by: Mateusz "j00ru" Jurczyk and Gynv

Re: [libav-devel] [PATCH 06/13] movenc: Support adding isml (smooth streaming live) metadata

2012-01-25 Thread Martin Storsjö
On Fri, 20 Jan 2012, Martin Storsjö wrote: This metadata is required for pushing a live stream to an IIS publishing point. --- Updated for the new movflag frag_custom. libavformat/movenc.c | 120 ++ libavformat/movenc.h |1 + 2 files changed, 1

Re: [libav-devel] [PATCH 10/12] movenc: Allow writing to a non-seekable output if using empty moov

2012-01-25 Thread Martin Storsjö
On Fri, 20 Jan 2012, Martin Storsjö wrote: In this mode, no seeks will be done except for within moov/moof fragments, which should fit within the AVIOContext buffer. --- libavformat/movenc.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/libavformat/movenc.

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Diego Biurrun wrote: On Wed, Jan 25, 2012 at 11:49:28PM +0200, Martin Storsjö wrote: On Wed, 25 Jan 2012, Martin Storsjö wrote: On Wed, 25 Jan 2012, Diego Biurrun wrote: On Wed, Jan 25, 2012 at 01:48:46PM +0200, Martin Storsjö wrote: --- a/tools/ismindex.c +++ b/tools

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 11:49:28PM +0200, Martin Storsjö wrote: > On Wed, 25 Jan 2012, Martin Storsjö wrote: > > >On Wed, 25 Jan 2012, Diego Biurrun wrote: > > > >>On Wed, Jan 25, 2012 at 01:48:46PM +0200, Martin Storsjö wrote: > >>> > >>>--- a/tools/ismindex.c > >>>+++ b/tools/ismindex.c > >>>@@

Re: [libav-devel] [PATCH 2/2] movenc: Support muxing wmapro in ismv/isma

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Justin Ruggles wrote: On 01/25/2012 01:10 PM, Alex Converse wrote: On Wed, Jan 25, 2012 at 7:14 AM, Justin Ruggles wrote: On 01/25/2012 05:37 AM, Martin Storsjö wrote: --- libavformat/movenc.c | 19 +-- 1 files changed, 17 insertions(+), 2 deletions(

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Martin Storsjö wrote: On Wed, 25 Jan 2012, Diego Biurrun wrote: On Wed, Jan 25, 2012 at 01:48:46PM +0200, Martin Storsjö wrote: --- a/tools/ismindex.c +++ b/tools/ismindex.c @@ -35,6 +35,10 @@ #include #include #include +#ifdef _WIN32 +#include +#define mkdir(a, b

[libav-devel] [PATCH] mjpegbdec: Fix overflow in SOS.

2012-01-25 Thread Alex Converse
In the fate sample field_size is larger than the number of bytes remaining in the buffer. Furthermore the bytes to bits conversion was prone to integer overflow when sizing the GetBitContext. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind --- libavcodec/mjpegbdec.c |4 ++-- 1 files ch

[libav-devel] [PATCH] bethsoftvideo: fix palette reading.

2012-01-25 Thread Justin Ruggles
Return the correct number of consumed bytes and set *data_size = 0. Returned size is 1 too small, leading to that 1 byte being read as the next frame, which results in an extra blank frame at the beginning of the stream. --- I forgot to include this patch in my previous bethsoftvid patch set. lib

[libav-devel] [PATCH 20/28] lavc: remove disabled FF_API_LAME_GLOBAL_OPTS cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h|3 --- libavcodec/libmp3lame.c |3 --- libavcodec/options.c| 10 +- libavcodec/version.h|3 --- 4 files changed, 1 insertions(+), 18 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index d724ea1..bc5e09c 100644 --- a

[libav-devel] [PATCH 17/28] lavc: remove disabled FF_API_DRC_SCALE cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/ac3dec.c |5 - libavcodec/avcodec.h | 11 --- libavcodec/options.c |3 --- libavcodec/version.h |3 --- 4 files changed, 0 insertions(+), 22 deletions(-) diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 662ea91..b50ec2a 100644 --- a/libavcodec

[libav-devel] [PATCH 24/28] lavc: remove disabled FF_API_PARSE_FRAME cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h| 14 -- libavcodec/mpegaudiodec.c | 21 - libavcodec/mpegaudiodec_float.c | 16 libavcodec/options.c|3 --- libavcodec/version.h|3 --- 5 files changed, 0 insertions(+)

[libav-devel] [PATCH 25/28] lavc: remove disabled FF_API_INTERNAL_CONTEXT cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 29 - libavcodec/version.h |3 --- 2 files changed, 0 insertions(+), 32 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a9bce7a..8a048d2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2029,2

[libav-devel] [PATCH 21/28] lavc: remove disabled FF_API_SNOW_GLOBAL_OPTS cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h |3 --- libavcodec/version.h |3 --- 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index bc5e09c..0455b7b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -596,9 +596,6 @@ typedef struct Rc

[libav-devel] [PATCH 27/28] lavc: remove disabled FF_API_DATA_POINTERS cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h |4 libavcodec/version.h |3 --- 2 files changed, 0 insertions(+), 7 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 8a048d2..217bef2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -854,11 +854,7 @@ enum AVSideData

[libav-devel] [PATCH 22/28] lavc: remove disabled FF_API_MJPEG_GLOBAL_OPTS cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 11 --- libavcodec/mjpegdec.c |4 libavcodec/options.c |3 --- libavcodec/version.h |3 --- 4 files changed, 0 insertions(+), 21 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 0455b7b..d844170 100644 --- a/libav

[libav-devel] [PATCH 15/28] lavc: remove disabled FF_API_ALLOC_CONTEXT cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 35 --- libavcodec/options.c | 27 --- libavcodec/version.h |3 --- 3 files changed, 0 insertions(+), 65 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 95458fa..c8fde8d 100644 -

[libav-devel] [PATCH 08/28] lavc: remove disabled FF_API_OLD_SAMPLE_FMT cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/audioconvert.c | 17 - libavcodec/audioconvert.h | 20 libavcodec/avcodec.h | 20 libavcodec/utils.c|6 -- libavcodec/version.h |3 --- 5 files changed, 0 insertions(+), 66 deletions(-) di

[libav-devel] [PATCH 26/28] lavc: remove disabled FF_API_TIFFENC_COMPLEVEL cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/tiffenc.c | 16 libavcodec/version.h |3 --- 2 files changed, 0 insertions(+), 19 deletions(-) diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 3b2b829..0aa9740 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -231,22 +231,6 @@ st

[libav-devel] [PATCH 28/28] lavc: remove disabled FF_API_AVFRAME_AGE cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h |7 --- libavcodec/version.h |3 --- 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 217bef2..18db7c5 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -923,13 +923,6 @@ typedef str

[libav-devel] [PATCH 12/28] lavc: remove disabled FF_API_OLD_FF_PICT_TYPES cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 23 --- libavcodec/utils.c |6 -- libavcodec/version.h |3 --- 3 files changed, 0 insertions(+), 32 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 778b328..1cbc56d 100644 --- a/libavcodec/avcodec.h +++ b/l

[libav-devel] [PATCH 23/28] lavc: remove disabled FF_API_GET_ALPHA_INFO cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h| 13 libavcodec/imgconvert.c | 49 --- libavcodec/version.h|3 -- 3 files changed, 0 insertions(+), 65 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index d844170..6ba2ac9 100

[libav-devel] [PATCH 13/28] lavc: remove disabled FF_API_FLAC_GLOBAL_OPTS cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 67 - libavcodec/flacenc.c | 68 -- libavcodec/options.c | 14 -- libavcodec/version.h |3 -- 4 files changed, 0 insertions(+), 152 deletions(-) diff --git

[libav-devel] [PATCH 14/28] lavc: remove disabled FF_API_GET_PIX_FMT_NAME cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h|8 libavcodec/imgconvert.c |7 --- libavcodec/version.h|3 --- 3 files changed, 0 insertions(+), 18 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index d6a40fa..95458fa 100644 --- a/libavcodec/avcodec.h +++ b/libavc

[libav-devel] [PATCH 10/28] lavc: remove disabled FF_API_ANTIALIAS_ALGO cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 13 - libavcodec/options.c |7 --- libavcodec/version.h |3 --- 3 files changed, 0 insertions(+), 23 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 73262e7..38df95f 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec

[libav-devel] [PATCH 11/28] lavc: remove disabled FF_API_THREAD_INIT cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h |8 libavcodec/utils.c |8 libavcodec/version.h |3 --- 3 files changed, 0 insertions(+), 19 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 38df95f..778b328 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avc

[libav-devel] [PATCH 18/28] lavc: remove disabled FF_API_ER cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 15 --- libavcodec/options.c |8 libavcodec/utils.c | 10 -- libavcodec/version.h |3 --- 4 files changed, 0 insertions(+), 36 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index d4a1939..fa9dba7 100644

[libav-devel] [PATCH 19/28] lavc: remove disabled FF_API_AVCODEC_INIT cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h |9 - libavcodec/utils.c |5 + libavcodec/version.h |3 --- 3 files changed, 1 insertions(+), 16 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index fa9dba7..d724ea1 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcod

[libav-devel] [PATCH 09/28] lavc: remove disabled FF_API_OLD_AUDIOCONVERT cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/audioconvert.c | 17 --- libavcodec/audioconvert.h | 20 -- libavcodec/avcodec.h | 48 - libavcodec/version.h |3 -- 4 files changed, 0 insertions(+), 88 deletions(-) diff --git a/libavcodec

[libav-devel] [PATCH 07/28] lavc: remove disabled FF_API_PALETTE_CONTROL cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 32 libavcodec/version.h |3 --- 2 files changed, 0 insertions(+), 35 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 08a79f9..5a5c4be 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -228

[libav-devel] [PATCH 06/28] lavc: remove disabled FF_API_MPEGVIDEO_GLOBAL_OPTS cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 12 libavcodec/mpeg12enc.c |7 - libavcodec/mpegvideo_enc.c | 62 +-- libavcodec/options.c | 26 -- libavcodec/version.h |3 -- 5 files changed, 2 insertions(+), 108

[libav-devel] [PATCH 16/28] lavc: remove disabled FF_API_AVCODEC_OPEN cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 34 -- libavcodec/utils.c |7 --- libavcodec/version.h |3 --- 3 files changed, 0 insertions(+), 44 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c8fde8d..c647265 100644 --- a/libavcodec/avcod

[libav-devel] [PATCH 02/28] codec-regression: use private options instead of deprecated codec flags.

2012-01-25 Thread Anton Khirnov
--- tests/codec-regression.sh | 14 +++--- tests/lavf-regression.sh |2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh index 5fd90f5..faa61e6 100755 --- a/tests/codec-regression.sh +++ b/tests/codec-regression.

[libav-devel] [PATCH 05/28] lavc: remove disabled FF_API_X264_GLOBAL_OPTS cruft.

2012-01-25 Thread Anton Khirnov
--- libavcodec/avcodec.h | 147 -- libavcodec/libx264.c | 61 - libavcodec/libxavs.c | 36 libavcodec/options.c | 51 +- libavcodec/version.h |3 - 5 files changed, 1 insertions(+), 297 dele

[libav-devel] [PATCH 04/28] lavc: remove the deprecated opt.h header.

2012-01-25 Thread Anton Khirnov
--- libavcodec/Makefile |2 +- libavcodec/opt.h | 34 -- libavcodec/version.h |3 --- 3 files changed, 1 insertions(+), 38 deletions(-) delete mode 100644 libavcodec/opt.h diff --git a/libavcodec/Makefile b/libavcodec/Makefile index fbb8112..ef2aa96

[libav-devel] [PATCH 03/28] lavc: remove the deprecated "ab" option.

2012-01-25 Thread Anton Khirnov
--- libavcodec/options.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/libavcodec/options.c b/libavcodec/options.c index 2689d32..f8a499c 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -76,7 +76,6 @@ static const AVClass *codec_child_class_next(const AVC

[libav-devel] [PATCH 01/28] lavc: increase major version to 54.

2012-01-25 Thread Anton Khirnov
The lavf-ffm test results change because ffmenc writes AVCodecContext.flags/flags2 and the defaults for those change. --- doc/APIchanges |2 +- libavcodec/version.h |4 ++-- tests/ref/lavf/ffm |2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/APIchanges

[libav-devel] [PATCH] XWD regression testing

2012-01-25 Thread Paul B Mahol
--- tests/lavf-regression.sh |4 tests/ref/lavf/xwd |3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 tests/ref/lavf/xwd diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 4a72e0a..db240b6 100755 --- a/tests/lavf-regression.sh +++

Re: [libav-devel] [PATCH] tools: Remove some unnecessary #undefs.

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 08:34:41PM +0100, Janne Grunau wrote: > On 2012-01-25 20:12:13 +0100, Diego Biurrun wrote: > > > > --- a/tools/graph2dot.c > > +++ b/tools/graph2dot.c > > @@ -20,7 +20,6 @@ > > > > #include /* getopt */ > > > > -#undef HAVE_AV_CONFIG_H > > #include "libav

Re: [libav-devel] [PATCH] tools: Remove some unnecessary #undefs.

2012-01-25 Thread Janne Grunau
On 2012-01-25 20:12:13 +0100, Diego Biurrun wrote: > --- > tools/graph2dot.c |1 - > tools/pktdumper.c |2 -- > 2 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/tools/graph2dot.c b/tools/graph2dot.c > index 15a9012..a52416d 100644 > --- a/tools/graph2dot.c > +++ b/tools/g

[libav-devel] [PATCH] tools: Remove some unnecessary #undefs.

2012-01-25 Thread Diego Biurrun
--- tools/graph2dot.c |1 - tools/pktdumper.c |2 -- 2 files changed, 0 insertions(+), 3 deletions(-) diff --git a/tools/graph2dot.c b/tools/graph2dot.c index 15a9012..a52416d 100644 --- a/tools/graph2dot.c +++ b/tools/graph2dot.c @@ -20,7 +20,6 @@ #include /* getopt */

Re: [libav-devel] [PATCH 07/10] lavf: undeprecate read_seek().

2012-01-25 Thread Anton Khirnov
On Wed, 25 Jan 2012 18:02:43 +, Paul B Mahol wrote: > On 1/12/12, Anton Khirnov wrote: > > The "new seeking API" was never finished and nobody is working on it. > > --- > > libavformat/avformat.h |7 +++ > > libavformat/version.h |3 --- > > 2 files changed, 3 insertions(+), 7

Re: [libav-devel] [PATCH] XWD regression testing

2012-01-25 Thread Måns Rullgård
Diego Biurrun writes: > On Wed, Jan 25, 2012 at 05:44:29PM +, Paul B Mahol wrote: >> >> --- a/tests/lavf-regression.sh >> +++ b/tests/lavf-regression.sh >> @@ -175,6 +175,10 @@ if [ -n "$do_pcx" ] ; then >> >> +if [ -n "$do_xwd" ] ; then >> +do_image_formats xwd >> +fi >> + >> --- /dev/nul

Re: [libav-devel] [PATCH 2/2] movenc: Support muxing wmapro in ismv/isma

2012-01-25 Thread Justin Ruggles
On 01/25/2012 01:10 PM, Alex Converse wrote: > On Wed, Jan 25, 2012 at 7:14 AM, Justin Ruggles > wrote: >> On 01/25/2012 05:37 AM, Martin Storsjö wrote: >> >>> --- >>> libavformat/movenc.c | 19 +-- >>> 1 files changed, 17 insertions(+), 2 deletions(-) >>> >>> diff --git a/liba

Re: [libav-devel] [PATCH] XWD regression testing

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 05:44:29PM +, Paul B Mahol wrote: > > --- a/tests/lavf-regression.sh > +++ b/tests/lavf-regression.sh > @@ -175,6 +175,10 @@ if [ -n "$do_pcx" ] ; then > > +if [ -n "$do_xwd" ] ; then > +do_image_formats xwd > +fi > + > --- /dev/null > +++ b/tests/ref/lavf/xwd > @@ -0

Re: [libav-devel] [PATCH] wma: Clip WMA1 and WMA2 frame length to 11 bits.

2012-01-25 Thread Justin Ruggles
On 01/25/2012 01:13 PM, Alex Converse wrote: > The MDCT buffers in the decoder are only sized for up to 11 bits. The > reverse engineered documentation for WMA1/2 headers say that that for > all samplerates above 32kHz 11 bits are used. 12 and 13 bit support > were added for WMAPro. I was unable t

[libav-devel] [PATCH] wma: Clip WMA1 and WMA2 frame length to 11 bits.

2012-01-25 Thread Alex Converse
The MDCT buffers in the decoder are only sized for up to 11 bits. The reverse engineered documentation for WMA1/2 headers say that that for all samplerates above 32kHz 11 bits are used. 12 and 13 bit support were added for WMAPro. I was unable to make any Microsoft tools generate a test file at a s

Re: [libav-devel] [PATCH 2/2] movenc: Support muxing wmapro in ismv/isma

2012-01-25 Thread Alex Converse
On Wed, Jan 25, 2012 at 7:14 AM, Justin Ruggles wrote: > On 01/25/2012 05:37 AM, Martin Storsjö wrote: > >> --- >>  libavformat/movenc.c |   19 +-- >>  1 files changed, 17 insertions(+), 2 deletions(-) >> >> diff --git a/libavformat/movenc.c b/libavformat/movenc.c >> index dc0c040.

Re: [libav-devel] [PATCH] dsputil: SIMD for bswap_buf

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 06:43:22PM +0100, Diego Biurrun wrote: > On Wed, Jan 25, 2012 at 06:40:17PM +0100, Christophe Gisquet wrote: > > 2012/1/25 Loren Merritt : > > >>+ mov %+ %1  m0, [r1 +  0] > > > > > > mov%1 > > > > Indeed. > > > > Also changed a bit the patch title. > > It would be nice t

Re: [libav-devel] [PATCH 07/10] lavf: undeprecate read_seek().

2012-01-25 Thread Paul B Mahol
On 1/12/12, Anton Khirnov wrote: > The "new seeking API" was never finished and nobody is working on it. > --- > libavformat/avformat.h |7 +++ > libavformat/version.h |3 --- > 2 files changed, 3 insertions(+), 7 deletions(-) > Now we have read_seek2 and read_seek. Only assdec use

[libav-devel] [PATCH] XWD regression testing

2012-01-25 Thread Paul B Mahol
--- tests/lavf-regression.sh |4 tests/ref/lavf/xwd |3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 tests/ref/lavf/xwd diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 4a72e0a..db240b6 100755 --- a/tests/lavf-regression.sh +++

Re: [libav-devel] [PATCH] dsputil: SIMD for bswap_buf

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 06:40:17PM +0100, Christophe Gisquet wrote: > 2012/1/25 Loren Merritt : > >>+ mov %+ %1  m0, [r1 +  0] > > > > mov%1 > > Indeed. > > Also changed a bit the patch title. It would be nice to have "x86" in the patch title. Diego _

Re: [libav-devel] [PATCH] dsputil: SIMD for bswap_buf

2012-01-25 Thread Christophe Gisquet
Hi, 2012/1/25 Loren Merritt : >>+ mov %+ %1  m0, [r1 +  0] > > mov%1 Indeed. Also changed a bit the patch title. Best regards, Christophe From c8ce1bf47248ea2cef8d762d58c7a20693470af4 Mon Sep 17 00:00:00 2001 From: Christophe GISQUET Date: Thu, 19 Jan 2012 21:48:39 +0100 Subject: [PATCH 4/4] x

Re: [libav-devel] [RFC] track bugfixes for release branches and fate-suite for Libav 0.8

2012-01-25 Thread Janne Grunau
On 2012-01-22 20:07:32 +0100, Reinhard Tartler wrote: > On Sun, Jan 22, 2012 at 7:29 PM, Janne Grunau wrote: > > Hi, > > > > I was thinking how we could make tracking bugfixes for release branches > > easier. I see nothing fundamentally wrong with the Linux stable tree > > workflow. It is as most

[libav-devel] [PATCH 1/1] vc1: prevent null pointer dereference on broken files

2012-01-25 Thread Janne Grunau
CC: libav-sta...@libav.org --- libavcodec/vc1dec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index fa95273..0425a87 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -5708,7 +5708,7 @@ static int vc1_decode_frame

Re: [libav-devel] tests missing from FATE

2012-01-25 Thread Måns Rullgård
Diego Biurrun writes: > Recently the topic of adding some or all test programs to FATE that are > not already part of FATE came up. Here's an overview of all those test > programs not yet in FATE with some quick and superficial comments. > > This is not intended to be an in-depth analysis, just

Re: [libav-devel] [PATCH 2/2] doc: Update APIchanges with info on muxer flushing

2012-01-25 Thread Justin Ruggles
On 01/25/2012 05:43 AM, Martin Storsjö wrote: > --- > doc/APIchanges |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/doc/APIchanges b/doc/APIchanges > index 904e346..27d4a86 100644 > --- a/doc/APIchanges > +++ b/doc/APIchanges > @@ -13,6 +13,12 @@ libavutil:

Re: [libav-devel] [PATCH 1/2] movenc: Reindent a block

2012-01-25 Thread Justin Ruggles
On 01/25/2012 05:43 AM, Martin Storsjö wrote: > Also add some space around operators and wrap a comment > that extends past the 80 char "limit"/guideline. ok. -Justin ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/l

Re: [libav-devel] [PATCH 2/2] movenc: Support muxing wmapro in ismv/isma

2012-01-25 Thread Justin Ruggles
On 01/25/2012 05:37 AM, Martin Storsjö wrote: > --- > libavformat/movenc.c | 19 +-- > 1 files changed, 17 insertions(+), 2 deletions(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index dc0c040..6896519 100644 > --- a/libavformat/movenc.c > +++ b/libavformat

Re: [libav-devel] [PATCH 1/2] movenc: Don't require frame_size to be set for modes other than mov

2012-01-25 Thread Justin Ruggles
On 01/25/2012 05:37 AM, Martin Storsjö wrote: > The field frame_size isn't written to the output anywhere except > than in mov. > > This facilitates stream copy from formats that don't set frame_size. > --- > libavformat/movenc.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >

[libav-devel] tests missing from FATE

2012-01-25 Thread Diego Biurrun
Recently the topic of adding some or all test programs to FATE that are not already part of FATE came up. Here's an overview of all those test programs not yet in FATE with some quick and superficial comments. This is not intended to be an in-depth analysis, just a way to get the ball rolling.

Re: [libav-devel] [PATCH] tools: K&R reformatting cosmetics

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 04:09:40PM +0200, Martin Storsjö wrote: > On Wed, 25 Jan 2012, Diego Biurrun wrote: > > >--- > >tools/aviocat.c|6 ++- > >tools/cws2fws.c| 56 +++-- > >tools/graph2dot.c | 36 ++-- > >tools/ismindex.c

Re: [libav-devel] [PATCH] tools: K&R reformatting cosmetics

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Diego Biurrun wrote: --- tools/aviocat.c|6 ++- tools/cws2fws.c| 56 +++-- tools/graph2dot.c | 36 ++-- tools/ismindex.c | 95 +++ tools/lavfi-showfiltfmt

[libav-devel] [PATCH] tools: K&R reformatting cosmetics

2012-01-25 Thread Diego Biurrun
--- tools/aviocat.c|6 ++- tools/cws2fws.c| 56 +++-- tools/graph2dot.c | 36 ++-- tools/ismindex.c | 95 +++ tools/lavfi-showfiltfmts.c |6 ++- tools/pktdumper.c

Re: [libav-devel] [PATCH] Ignore generated aviocat and ismindex tools.

2012-01-25 Thread Janne Grunau
On 2012-01-25 14:56:46 +0100, Diego Biurrun wrote: > --- > .gitignore |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/.gitignore b/.gitignore > index 3508635..754051d 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -34,8 +34,10 @@ tests/tiny_psnr > tests/videogen

[libav-devel] [PATCH] Ignore generated aviocat and ismindex tools.

2012-01-25 Thread Diego Biurrun
--- .gitignore |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 3508635..754051d 100644 --- a/.gitignore +++ b/.gitignore @@ -34,8 +34,10 @@ tests/tiny_psnr tests/videogen tests/vsynth1 tests/vsynth2 +tools/aviocat tools/cws2fws tools/gra

Re: [libav-devel] [PATCH 1/1] rv20: prevent calling ff_h263_decode_mba() with unset height/width

2012-01-25 Thread Kostya Shishkov
On Wed, Jan 25, 2012 at 02:31:30PM +0100, Janne Grunau wrote: > Prevents a crash of VLC during playback of a invalid matroska file, > found by John Villamil . > --- > libavcodec/rv10.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/rv10.c b/libavcodec/r

[libav-devel] [PATCH 1/1] rv20: prevent calling ff_h263_decode_mba() with unset height/width

2012-01-25 Thread Janne Grunau
Prevents a crash of VLC during playback of a invalid matroska file, found by John Villamil . --- libavcodec/rv10.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 9f2fe77..1d7fd6b 100644 --- a/libavcodec/rv10.c +++ b/libavcodec

Re: [libav-devel] [PATCH] dsputil: SIMD for bswap_buf

2012-01-25 Thread Loren Merritt
On Sat, 21 Jan 2012, Christophe Gisquet wrote: >+ mov %+ %1 m0, [r1 + 0] mov%1 --Loren Merritt ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 09/12] movdec: Ignore sample_degradation_priority bits when checking first_sample_flags

2012-01-25 Thread Martin Storsjö
On Fri, 20 Jan 2012, Martin Storsjö wrote: This makes the first packet of a track fragment run to get the keyframe flag set properly if sample_degradation_priority is nonzero. --- libavformat/mov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/mov.c b/libav

Re: [libav-devel] [PATCH] build: Automatically include architecture-specific library Makefile snippets.

2012-01-25 Thread Måns Rullgård
Diego Biurrun writes: > --- > Makefile |1 + > libavcodec/Makefile |2 -- > libavfilter/Makefile |2 -- > 3 files changed, 1 insertions(+), 4 deletions(-) OK -- Måns Rullgård m...@mansr.com ___ libav-devel mailing list libav

Re: [libav-devel] [PATCH] build: Add 'check' target to run all compile and test targets.

2012-01-25 Thread Diego Biurrun
On Mon, Jan 09, 2012 at 04:04:31PM +0100, Diego Biurrun wrote: > On Mon, Jan 09, 2012 at 03:33:23PM +0100, Luca Barbato wrote: > > On 09/01/12 14:11, Diego Biurrun wrote: > > >We have been sidetracked from the actual contents of the patch to flames > > >about the human condition, so it's not surpri

[libav-devel] [PATCH] build: Automatically include architecture-specific library Makefile snippets.

2012-01-25 Thread Diego Biurrun
--- Makefile |1 + libavcodec/Makefile |2 -- libavfilter/Makefile |2 -- 3 files changed, 1 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d1b55ba..c9821b7 100644 --- a/Makefile +++ b/Makefile @@ -112,6 +112,7 @@ define DOSUBDIR $(foreach V,$(SUBDI

Re: [libav-devel] [PATCH 2/2] pktdumper: Use usleep instead of sleep

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 02:23:40PM +0200, Martin Storsjö wrote: > On Wed, 25 Jan 2012, Diego Biurrun wrote: > > >On Wed, Jan 25, 2012 at 01:17:44PM +0100, Diego Biurrun wrote: > >>On Wed, Jan 25, 2012 at 02:05:27PM +0200, Martin Storsjö wrote: > >>>--- a/tools/pktdumper.c > >>>+++ b/tools/pktdumpe

Re: [libav-devel] [PATCH 2/2] pktdumper: Use usleep instead of sleep

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Diego Biurrun wrote: On Wed, Jan 25, 2012 at 01:17:44PM +0100, Diego Biurrun wrote: On Wed, Jan 25, 2012 at 02:05:27PM +0200, Martin Storsjö wrote: --- a/tools/pktdumper.c +++ b/tools/pktdumper.c @@ -120,7 +120,7 @@ int main(int argc, char **argv) while (donotquit) -

Re: [libav-devel] [PATCH 2/2] pktdumper: Use usleep instead of sleep

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 01:17:44PM +0100, Diego Biurrun wrote: > On Wed, Jan 25, 2012 at 02:05:27PM +0200, Martin Storsjö wrote: > > --- a/tools/pktdumper.c > > +++ b/tools/pktdumper.c > > @@ -120,7 +120,7 @@ int main(int argc, char **argv) > > > > while (donotquit) > > -sleep(60); >

Re: [libav-devel] [PATCH 2/2] pktdumper: Use usleep instead of sleep

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 02:05:27PM +0200, Martin Storsjö wrote: > --- a/tools/pktdumper.c > +++ b/tools/pktdumper.c > @@ -120,7 +120,7 @@ int main(int argc, char **argv) > > while (donotquit) > -sleep(60); > +usleep(60*100); Add spaces around the operator and patch OK.

Re: [libav-devel] [PATCH] swscale-test: Drop unused argc and argv arguments fro main().

2012-01-25 Thread Diego Biurrun
On Fri, Jan 13, 2012 at 05:01:43PM +0100, Diego Biurrun wrote: > --- > libswscale/colorspace-test.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) .. ping .. Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.or

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Diego Biurrun wrote: On Wed, Jan 25, 2012 at 01:48:46PM +0200, Martin Storsjö wrote: --- a/tools/ismindex.c +++ b/tools/ismindex.c @@ -35,6 +35,10 @@ #include #include #include +#ifdef _WIN32 +#include +#define mkdir(a, b) mkdir(a) +#endif #include "libavformat/avf

Re: [libav-devel] [PATCH] cosmetics: Remove some unnecessary block braces.

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Diego Biurrun wrote: On Wed, Jan 25, 2012 at 01:57:11PM +0200, Martin Storsjö wrote: On Wed, 18 Jan 2012, Diego Biurrun wrote: --- a/libswscale/ppc/swscale_altivec.c +++ b/libswscale/ppc/swscale_altivec.c @@ -99,7 +99,6 @@ yuv2planeX_altivec(const int16_t *filter, int filt

Re: [libav-devel] [PATCH] cosmetics: Remove some unnecessary block braces.

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 01:57:11PM +0200, Martin Storsjö wrote: > On Wed, 18 Jan 2012, Diego Biurrun wrote: > >--- a/libswscale/ppc/swscale_altivec.c > >+++ b/libswscale/ppc/swscale_altivec.c > >@@ -99,7 +99,6 @@ yuv2planeX_altivec(const int16_t *filter, int filterSize, > > const

[libav-devel] [PATCH 2/2] pktdumper: Use usleep instead of sleep

2012-01-25 Thread Martin Storsjö
MinGW doesn't have sleep, only _sleep (which is deprecated), Sleep (which is defined in winbase.h and not in the standard C headers) and usleep. --- tools/pktdumper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/pktdumper.c b/tools/pktdumper.c index e9e5acf..4f59

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 01:48:46PM +0200, Martin Storsjö wrote: > > --- a/tools/ismindex.c > +++ b/tools/ismindex.c > @@ -35,6 +35,10 @@ > #include > #include > #include > +#ifdef _WIN32 > +#include > +#define mkdir(a, b) mkdir(a) > +#endif > #include "libavformat/avformat.h" > #include "

Re: [libav-devel] [PATCH 2/2] pktdumper: Fix build for mingw

2012-01-25 Thread Janne Grunau
On 2012-01-25 13:48:47 +0200, Martin Storsjö wrote: > Mingw doesn't have sleep, only _sleep (which is deprecated), > Sleep (which is defined in winbase.h and not in the standard > C headers) and usleep. > --- > tools/pktdumper.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > >

Re: [libav-devel] [PATCH 2/2] pktdumper: Fix build for mingw

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 01:48:47PM +0200, Martin Storsjö wrote: > Mingw doesn't have sleep, only _sleep (which is deprecated), > Sleep (which is defined in winbase.h and not in the standard > C headers) and usleep. nit: MinGW > --- a/tools/pktdumper.c > +++ b/tools/pktdumper.c > @@ -26,6 +26,10 @

Re: [libav-devel] [PATCH] cosmetics: Remove some unnecessary block braces.

2012-01-25 Thread Martin Storsjö
On Wed, 18 Jan 2012, Diego Biurrun wrote: --- libavcodec/motion_est.c | 36 +--- libavfilter/vf_hflip.c |2 -- libswscale/ppc/swscale_altivec.c | 10 -- 3 files changed, 17 insertions(+), 31 deletions(-) diff --git a/libavcodec/mot

Re: [libav-devel] [PATCH] cosmetics: Remove some unnecessary block braces.

2012-01-25 Thread Diego Biurrun
On Wed, Jan 18, 2012 at 08:26:55PM +0100, Diego Biurrun wrote: > --- > libavcodec/motion_est.c | 36 +--- > libavfilter/vf_hflip.c |2 -- > libswscale/ppc/swscale_altivec.c | 10 -- > 3 files changed, 17 insertions(+), 31 deletions

Re: [libav-devel] [PATCH] fate: Employ modern and preferred avconv syntax.

2012-01-25 Thread Diego Biurrun
On Wed, Jan 18, 2012 at 11:32:25PM +0100, Diego Biurrun wrote: > --- > tests/codec-regression.sh | 124 ++-- > tests/fate/demux.mak | 36 +++--- > tests/fate/h264.mak |4 +- > tests/fate/microsoft.mak |4 +- > tests/fate/mp3.ma

Re: [libav-devel] [PATCH 5/5] avconv: Document which command line options are preferred in (--help) output.

2012-01-25 Thread Diego Biurrun
On Wed, Jan 18, 2012 at 07:23:37PM +0100, Diego Biurrun wrote: > --- > avconv.c | 30 +++--- > 1 files changed, 15 insertions(+), 15 deletions(-) .. ping .. Diego ___ libav-devel mailing list libav-devel@libav.org https://list

  1   2   >