Re: [libav-devel] [PATCH 3/6] lavf: flush the output AVIOContext in av_write_trailer().

2012-09-13 Thread Anton Khirnov
ping on this and 6/6 -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] vorbisdec: ensure FASTDIV denominator is never 1

2012-09-13 Thread Loren Merritt
On Thu, 13 Sep 2012, Luca Barbato wrote: > Both in usage of FASTDIV the denominator might be 1. > > Using a branch would make the function slower than using a normal > division. Which CPU do you have in mind where a division is faster than a branch miss, let alone a predictable branch? (No object

[libav-devel] [PATCH] x86: dsputil: Move IDCT initialization to a separate file

2012-09-13 Thread Diego Biurrun
--- This iteration fixes some #includes. libavcodec/x86/Makefile |1 + libavcodec/x86/dsputil_mmx.c | 32 +--- libavcodec/x86/dsputil_mmx.h |1 + libavcodec/x86/idct_init.c | 55 ++ 4 files changed, 59 insertions(+), 3

[libav-devel] [PATCH] x86: dsputil: Move IDCT initialization to a separate file

2012-09-13 Thread Diego Biurrun
--- libavcodec/x86/Makefile |1 + libavcodec/x86/dsputil_mmx.c | 33 ++--- libavcodec/x86/dsputil_mmx.h |1 + libavcodec/x86/idct_init.c | 54 ++ 4 files changed, 59 insertions(+), 30 deletions(-) create mode 100644 li

Re: [libav-devel] [PATCH 1/3] x86: Only compile FDCT code if encoders are enabled

2012-09-13 Thread Diego Biurrun
On Fri, Sep 14, 2012 at 12:36:24AM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > On Fri, Sep 14, 2012 at 12:14:45AM +0100, Måns Rullgård wrote: > >> Diego Biurrun writes: > >> > > >> > --- a/libavcodec/x86/Makefile > >> > +++ b/libavcodec/x86/Makefile > >> > @@ -7,7 +7,6 @@ OBJS-$(CONFI

Re: [libav-devel] [PATCH 3/3] [RFC] x86: dsputil: Move IDCT initialization to a separate function

2012-09-13 Thread Diego Biurrun
On Fri, Sep 14, 2012 at 12:37:40AM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > On Fri, Sep 14, 2012 at 12:17:51AM +0100, Måns Rullgård wrote: > >> Diego Biurrun writes: > >> > --- > >> > The init function might better be moved to a separate file, but I don't > >> > see a suitable one.

Re: [libav-devel] [PATCH] x86: dsputil: Move Xvid IDCT put/add functions to a more suitable place

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > --- > libavcodec/x86/dsputil_mmx.c | 27 --- > libavcodec/x86/idct_mmx_xvid.c | 25 + > libavcodec/x86/idct_xvid.h |8 > 3 files changed, 33 insertions(+), 27 deletions(-) OK -- Måns Rullgård m...@m

Re: [libav-devel] [PATCH 3/3] [RFC] x86: dsputil: Move IDCT initialization to a separate function

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > On Fri, Sep 14, 2012 at 12:17:51AM +0100, Måns Rullgård wrote: >> Diego Biurrun writes: >> > --- >> > The init function might better be moved to a separate file, but I don't >> > see a suitable one... >> > >> > libavcodec/x86/dsputil_mmx.c | 62 >> > ++

Re: [libav-devel] [PATCH 1/3] x86: Only compile FDCT code if encoders are enabled

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > On Fri, Sep 14, 2012 at 12:14:45AM +0100, Måns Rullgård wrote: >> Diego Biurrun writes: >> > >> > --- a/libavcodec/x86/Makefile >> > +++ b/libavcodec/x86/Makefile >> > @@ -7,7 +7,6 @@ OBJS-$(CONFIG_VP3DSP) += x86/vp3dsp_init.o >> > >> > MMX-OBJS

[libav-devel] [PATCH] x86: dsputil: Move Xvid IDCT put/add functions to a more suitable place

2012-09-13 Thread Diego Biurrun
--- libavcodec/x86/dsputil_mmx.c | 27 --- libavcodec/x86/idct_mmx_xvid.c | 25 + libavcodec/x86/idct_xvid.h |8 3 files changed, 33 insertions(+), 27 deletions(-) diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsp

Re: [libav-devel] [PATCH 3/3] [RFC] x86: dsputil: Move IDCT initialization to a separate function

2012-09-13 Thread Diego Biurrun
On Fri, Sep 14, 2012 at 12:17:51AM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > --- > > The init function might better be moved to a separate file, but I don't > > see a suitable one... > > > > libavcodec/x86/dsputil_mmx.c | 62 > > +++--- > > 1 f

Re: [libav-devel] [PATCH 1/3] x86: Only compile FDCT code if encoders are enabled

2012-09-13 Thread Diego Biurrun
On Fri, Sep 14, 2012 at 12:14:45AM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > > > --- a/libavcodec/x86/Makefile > > +++ b/libavcodec/x86/Makefile > > @@ -7,7 +7,6 @@ OBJS-$(CONFIG_VP3DSP) += x86/vp3dsp_init.o > > > > MMX-OBJS += x86/ds

Re: [libav-devel] [PATCH 3/3] [RFC] x86: dsputil: Move IDCT initialization to a separate function

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > --- > The init function might better be moved to a separate file, but I don't > see a suitable one... > > libavcodec/x86/dsputil_mmx.c | 62 > +++--- > 1 files changed, 34 insertions(+), 28 deletions(-) What is the purpose of this?

Re: [libav-devel] [PATCH 1/3] x86: Only compile FDCT code if encoders are enabled

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > --- > libavcodec/x86/Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile > index be4fd54..1b0574b 100644 > --- a/libavcodec/x86/Makefile > +++ b/libavcodec/x86/Makefile > @@ -7,7 +7,6 @@

[libav-devel] [PATCH 3/3] [RFC] x86: dsputil: Move IDCT initialization to a separate function

2012-09-13 Thread Diego Biurrun
--- The init function might better be moved to a separate file, but I don't see a suitable one... libavcodec/x86/dsputil_mmx.c | 62 +++--- 1 files changed, 34 insertions(+), 28 deletions(-) diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_

[libav-devel] [PATCH 2/3] x86: dsputil: Split off fdct initialization to a separate function

2012-09-13 Thread Diego Biurrun
--- libavcodec/x86/dsputil_mmx.h|2 ++ libavcodec/x86/dsputilenc_mmx.c | 13 + libavcodec/x86/fdct.c | 16 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/libavcodec/x86/dsputil_mmx.h b/libavcodec/x86/dsputil_mmx.h index 00c7fb1..

[libav-devel] [PATCH 1/3] x86: Only compile FDCT code if encoders are enabled

2012-09-13 Thread Diego Biurrun
--- libavcodec/x86/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile index be4fd54..1b0574b 100644 --- a/libavcodec/x86/Makefile +++ b/libavcodec/x86/Makefile @@ -7,7 +7,6 @@ OBJS-$(CONFIG_VP3DSP) +

Re: [libav-devel] [PATCH] vorbisdec: ensure FASTDIV denominator is never 1

2012-09-13 Thread Janne Grunau
On 2012-09-13 23:58:38 +0200, Luca Barbato wrote: > In both usages of FASTDIV the denominator might be 1. > > Using a branch would make the function slower than using a normal > division. > > Both denominator and numerator can be multiplied by 2 safely and > using shifts is faster than using a br

[libav-devel] [PATCH] vorbisdec: ensure FASTDIV denominator is never 1

2012-09-13 Thread Luca Barbato
In both usages of FASTDIV the denominator might be 1. Using a branch would make the function slower than using a normal division. Both denominator and numerator can be multiplied by 2 safely and using shifts is faster than using a branch. --- libavcodec/vorbisdec.c | 5 ++--- 1 file changed, 2 i

Re: [libav-devel] [PATCH 3/3] x86: Separate motion_est from dsputil initialization

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > On Thu, Sep 13, 2012 at 12:12:19PM +0100, Måns Rullgård wrote: >> Diego Biurrun writes: >> > --- >> > This could alternatively be squashed together with 2/3. >> > >> > libavcodec/dsputil.c|4 +++- >> > libavcodec/dsputil.h|1 + >> > libavc

Re: [libav-devel] [PATCH 2/2] x86: avcodec: Rename dsputil_mmx.h ---> dsputil.h

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > On Thu, Sep 13, 2012 at 12:07:05PM +0100, Måns Rullgård wrote: >> Diego Biurrun writes: >> > On Wed, Sep 12, 2012 at 12:02:45PM +0100, Måns Rullgård wrote: >> >> Diego Biurrun writes: >> >> > On Tue, Sep 11, 2012 at 05:17:11PM +0300, Martin Storsjö wrote: >> >> >> On Tue

Re: [libav-devel] [PATCH 3/3] x86: Separate motion_est from dsputil initialization

2012-09-13 Thread Diego Biurrun
On Thu, Sep 13, 2012 at 12:12:19PM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > --- > > This could alternatively be squashed together with 2/3. > > > > libavcodec/dsputil.c|4 +++- > > libavcodec/dsputil.h|1 + > > libavcodec/x86/dsputil_mmx.h|2

Re: [libav-devel] [PATCH 2/2] x86: avcodec: Rename dsputil_mmx.h ---> dsputil.h

2012-09-13 Thread Diego Biurrun
On Thu, Sep 13, 2012 at 12:07:05PM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > On Wed, Sep 12, 2012 at 12:02:45PM +0100, Måns Rullgård wrote: > >> Diego Biurrun writes: > >> > On Tue, Sep 11, 2012 at 05:17:11PM +0300, Martin Storsjö wrote: > >> >> On Tue, 11 Sep 2012, Diego Biurrun wr

Re: [libav-devel] [PATCH] Opus decoder using libopus

2012-09-13 Thread Diego Biurrun
On Thu, Sep 13, 2012 at 02:25:39PM +0200, Luca Barbato wrote: > On 9/13/12 1:01 PM, Diego Biurrun wrote: > >+return AVERROR_UNKNOWN; > AVERROR(ENOMEM) maybe? Sounds sensible - Nathan? Diego ___ libav-devel mailing list libav-devel@libav.org http

Re: [libav-devel] [PATCH] configure: x86: improve ebp availability check

2012-09-13 Thread Diego Biurrun
On Thu, Sep 13, 2012 at 08:18:56PM +0100, Mans Rullgard wrote: > Some compilers are extra strict about register usage in main(), > disallowing ebp in inline asm there while allowing it elsewhere. > This change makes the test better reflect actual usage. > > Signed-off-by: Mans Rullgard > --- > c

[libav-devel] [PATCH 1/3] ac3dec: output planar float only

2012-09-13 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- libavcodec/ac3dec.c | 32 ++-- libavcodec/ac3dec.h | 1 - 2 files changed, 6 insertions(+), 27 deletions(-) diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 37426c6..f1bda7f 100644 --- a/libavcodec/ac3dec.c +++ b/libavcode

[libav-devel] [PATCH 2/3] ac3dec: make downmix() take array of pointers to channel data

2012-09-13 Thread Mans Rullgard
--- libavcodec/ac3dec.c | 14 +++-- libavcodec/ac3dec.h | 4 +++ libavcodec/ac3dsp.c | 2 +- libavcodec/ac3dsp.h | 2 +- libavcodec/x86/ac3dsp_init.c | 70 ++-- 5 files changed, 59 insertions(+), 33 deletions(-) di

[libav-devel] [PATCH 3/3] ac3dec: decode directly into output buffers

2012-09-13 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- libavcodec/ac3dec.c | 27 --- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 8ddf354..3f6c92d 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -188,7 +188,6 @@ sta

[libav-devel] [PATCH] configure: x86: improve ebp availability check

2012-09-13 Thread Mans Rullgard
Some compilers are extra strict about register usage in main(), disallowing ebp in inline asm there while allowing it elsewhere. This change makes the test better reflect actual usage. Signed-off-by: Mans Rullgard --- configure | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --gi

Re: [libav-devel] [PATCH] vorbisdec: ensure FASTDIV denominator is never 1

2012-09-13 Thread Luca Barbato
On 09/13/2012 08:30 PM, Diego Elio Pettenò wrote: > On 13/09/2012 10:45, Luca Barbato wrote: >> Both in usage of FASTDIV the denominator might be 1. > > "In both usages of FASTDIV" I guess? > Yes. ___ libav-devel mailing list libav-devel@libav.org http

Re: [libav-devel] [PATCH] vorbisdec: ensure FASTDIV denominator is never 1

2012-09-13 Thread Diego Elio Pettenò
On 13/09/2012 10:45, Luca Barbato wrote: > Both in usage of FASTDIV the denominator might be 1. "In both usages of FASTDIV" I guess? -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/ ___ libav-devel mailing list libav

Re: [libav-devel] [PATCH] vorbisdec: ensure FASTDIV denominator is never 1

2012-09-13 Thread Luca Barbato
On 09/13/2012 07:51 PM, Janne Grunau wrote: > On 2012-09-13 19:45:21 +0200, Luca Barbato wrote: >> Both in usage of FASTDIV the denominator might be 1. >> >> Using a branch would make the function slower than using a normal >> division. >> >> Both denominator and numerator can be multiplied by 2 sa

Re: [libav-devel] [PATCH] vorbisdec: ensure FASTDIV denominator is never 1

2012-09-13 Thread Janne Grunau
On 2012-09-13 19:45:21 +0200, Luca Barbato wrote: > Both in usage of FASTDIV the denominator might be 1. > > Using a branch would make the function slower than using a normal > division. > > Both denominator and numerator can be multiplied by 2 safely and > using shifts is faster than using a bra

[libav-devel] [PATCH] vorbisdec: ensure FASTDIV denominator is never 1

2012-09-13 Thread Luca Barbato
Both in usage of FASTDIV the denominator might be 1. Using a branch would make the function slower than using a normal division. Both denominator and numerator can be multiplied by 2 safely and using shifts is faster than using a branch. --- libavcodec/vorbisdec.c |7 --- 1 files changed

Re: [libav-devel] [PATCH 3/3] ARM: libavresample: NEON optimised generic fltp to s16 conversion

2012-09-13 Thread Janne Grunau
On 2012-09-10 16:13:26 +0100, Måns Rullgård wrote: > Signed-off-by: Mans Rullgard > --- > libavresample/arm/audio_convert_init.c | 5 + > libavresample/arm/audio_convert_neon.S | 233 > + > 2 files changed, 238 insertions(+) lgtm Janne

Re: [libav-devel] [PATCH] trasher: Include all the necessary headers

2012-09-13 Thread Ronald S. Bultje
Hi, On Sep 13, 2012 4:16 AM, "Martin Storsjö" wrote: > > On Thu, 13 Sep 2012, Martin Storsjö wrote: > >> This fixes building of this tool on mingw32ce. >> --- >> tools/trasher.c |2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/tools/trasher.c b/tools/trasher.c >> index 11605b8..356

Re: [libav-devel] [PATCH] rtp: Packetization of JPEG (RFC 2435)

2012-09-13 Thread Martin Storsjö
On Thu, 13 Sep 2012, Martin Storsjö wrote: On Thu, 13 Sep 2012, Samuel Pitoiset wrote: +av_log(s1, AV_LOG_WARNING, + "Only 8-bit precision is supported.\n"); + +/* a quantization table is 64 bytes long */ +qtable_len = AV_RB16(&buf[

Re: [libav-devel] [PATCH] Opus decoder using libopus

2012-09-13 Thread Luca Barbato
On 9/13/12 1:01 PM, Diego Biurrun wrote: +return AVERROR_UNKNOWN; AVERROR(ENOMEM) maybe? lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] rtp: Packetization of JPEG (RFC 2435)

2012-09-13 Thread Martin Storsjö
On Thu, 13 Sep 2012, Samuel Pitoiset wrote: --- Changelog | 1 + libavformat/Makefile | 1 + libavformat/rtpenc.c | 4 ++ libavformat/rtpenc.h | 1 + libavformat/rtpenc_jpeg.c | 120 ++ libavformat/sdp.c | 5

Re: [libav-devel] [PATCH] os_support: Choose between direct.h and io.h using a configure check

2012-09-13 Thread Måns Rullgård
Martin Storsjö writes: > --- > configure|2 ++ > libavformat/os_support.h |6 +++--- > 2 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/configure b/configure > index 5afdab9..2e28124 100755 > --- a/configure > +++ b/configure > @@ -1132,6 +1132,7 @@ HAVE_

[libav-devel] [PATCH] os_support: Choose between direct.h and io.h using a configure check

2012-09-13 Thread Martin Storsjö
--- configure|2 ++ libavformat/os_support.h |6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 5afdab9..2e28124 100755 --- a/configure +++ b/configure @@ -1132,6 +1132,7 @@ HAVE_LIST=" dev_ic_bt8xx_h dev_video_bk

Re: [libav-devel] [PATCH] trasher: Include all the necessary headers

2012-09-13 Thread Martin Storsjö
On Thu, 13 Sep 2012, Martin Storsjö wrote: This fixes building of this tool on mingw32ce. --- tools/trasher.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/trasher.c b/tools/trasher.c index 11605b8..35625e9 100644 --- a/tools/trasher.c +++ b/tools/trasher.c @@ -21,6 +21,8 @@ #inc

[libav-devel] [PATCH 1/1] rawvideo: add AVOption to set bits_per_raw_sample

2012-09-13 Thread Janne Grunau
This is required for for reading high bit depth raw yuv data. --- libavformat/rawdec.c | 1 + libavformat/rawdec.h | 1 + libavformat/rawvideodec.c | 1 + 3 files changed, 3 insertions(+) diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index a64c406..541a1d9 100644 --- a/libavf

Re: [libav-devel] [PATCH] os_support: Include io.h instead of direct.h on mingw32ce

2012-09-13 Thread Måns Rullgård
Martin Storsjö writes: > On Thu, 13 Sep 2012, Måns Rullgård wrote: > >> Martin Storsjö writes: >> >>> Windows CE doesn't have neither mkdir nor _mkdir officially (only >>> CreateDirectoryW), but mingw32ce has compat wrappers with these names >>> (declared in io.h since direct.h is unavailable).

Re: [libav-devel] [PATCH 3/3] x86: Separate motion_est from dsputil initialization

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > --- > This could alternatively be squashed together with 2/3. > > libavcodec/dsputil.c|4 +++- > libavcodec/dsputil.h|1 + > libavcodec/x86/dsputil_mmx.h|2 -- > libavcodec/x86/dsputilenc_mmx.c |2 -- > 4 files changed, 4 insert

Re: [libav-devel] [PATCH 2/3] x86: Separate dsputil decoder and encoder initialization

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > --- > This could alternatively be squashed together with 3/3. > > libavcodec/dsputil.c |3 +++ > libavcodec/dsputil.h |3 +++ > libavcodec/x86/dsputil_mmx.c |3 --- > libavcodec/x86/dsputil_mmx.h |1 - > 4 files changed, 6 insertions(+), 4

Re: [libav-devel] [PATCH] os_support: Include io.h instead of direct.h on mingw32ce

2012-09-13 Thread Martin Storsjö
On Thu, 13 Sep 2012, Måns Rullgård wrote: Martin Storsjö writes: Windows CE doesn't have neither mkdir nor _mkdir officially (only CreateDirectoryW), but mingw32ce has compat wrappers with these names (declared in io.h since direct.h is unavailable). --- libavformat/os_support.h |4

Re: [libav-devel] [PATCH 1/3] x86: Remove some leftover declarations for non-existent functions

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > --- > libavcodec/dct-test.c|4 > libavcodec/x86/dsputil_mmx.h |4 > 2 files changed, 0 insertions(+), 8 deletions(-) > > diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c > index 72d2d80..848ba8a 100644 > --- a/libavcodec/dct-test.c > ++

Re: [libav-devel] [PATCH 2/2] x86: avcodec: Rename dsputil_mmx.h ---> dsputil.h

2012-09-13 Thread Måns Rullgård
Diego Biurrun writes: > On Wed, Sep 12, 2012 at 12:02:45PM +0100, Måns Rullgård wrote: >> Diego Biurrun writes: >> > On Tue, Sep 11, 2012 at 05:17:11PM +0300, Martin Storsjö wrote: >> >> On Tue, 11 Sep 2012, Diego Biurrun wrote: >> >> >On Mon, Sep 03, 2012 at 11:54:20AM +0200, Diego Biurrun wrot

Re: [libav-devel] [PATCH] os_support: Include io.h instead of direct.h on mingw32ce

2012-09-13 Thread Måns Rullgård
Martin Storsjö writes: > Windows CE doesn't have neither mkdir nor _mkdir officially (only > CreateDirectoryW), but mingw32ce has compat wrappers with these names > (declared in io.h since direct.h is unavailable). > --- > libavformat/os_support.h |4 > 1 file changed, 4 insertions(+) >

[libav-devel] [PATCH] trasher: Include all the necessary headers

2012-09-13 Thread Martin Storsjö
This fixes building of this tool on mingw32ce. --- tools/trasher.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/trasher.c b/tools/trasher.c index 11605b8..35625e9 100644 --- a/tools/trasher.c +++ b/tools/trasher.c @@ -21,6 +21,8 @@ #include #include #include +#include +#in

[libav-devel] [PATCH 2/3] x86: Separate dsputil decoder and encoder initialization

2012-09-13 Thread Diego Biurrun
--- This could alternatively be squashed together with 3/3. libavcodec/dsputil.c |3 +++ libavcodec/dsputil.h |3 +++ libavcodec/x86/dsputil_mmx.c |3 --- libavcodec/x86/dsputil_mmx.h |1 - 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libavcodec/d

[libav-devel] [PATCH 1/3] x86: Remove some leftover declarations for non-existent functions

2012-09-13 Thread Diego Biurrun
--- libavcodec/dct-test.c|4 libavcodec/x86/dsputil_mmx.h |4 2 files changed, 0 insertions(+), 8 deletions(-) diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 72d2d80..848ba8a 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -48,16 +48,1

[libav-devel] [PATCH 3/3] x86: Separate motion_est from dsputil initialization

2012-09-13 Thread Diego Biurrun
--- This could alternatively be squashed together with 2/3. libavcodec/dsputil.c|4 +++- libavcodec/dsputil.h|1 + libavcodec/x86/dsputil_mmx.h|2 -- libavcodec/x86/dsputilenc_mmx.c |2 -- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/l

[libav-devel] [PATCH] Opus decoder using libopus

2012-09-13 Thread Diego Biurrun
From: Nicolas George --- Rebased on top of HEAD; some cosmetics. Changelog |1 + configure |5 + doc/general.texi|2 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libopusdec.c | 201 ++

Re: [libav-devel] [PATCH 2/2] x86: avcodec: Rename dsputil_mmx.h ---> dsputil.h

2012-09-13 Thread Diego Biurrun
On Wed, Sep 12, 2012 at 12:02:45PM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > On Tue, Sep 11, 2012 at 05:17:11PM +0300, Martin Storsjö wrote: > >> On Tue, 11 Sep 2012, Diego Biurrun wrote: > >> >On Mon, Sep 03, 2012 at 11:54:20AM +0200, Diego Biurrun wrote: > >> >>--- > >> >> libavcod

Re: [libav-devel] [PATCH 2/2] avformat: refactor avformat_close_input

2012-09-13 Thread Luca Barbato
On 9/13/12 12:27 PM, Anton Khirnov wrote: On Mon, 10 Sep 2012 13:26:21 +0200, Luca Barbato wrote: Do not crash if the input format is not allocated yet. When would that happen? Some people might fail before allocating it. It had been a question at the VDD. Another option might be try to

Re: [libav-devel] [PATCH 2/2] avformat: refactor avformat_close_input

2012-09-13 Thread Anton Khirnov
On Mon, 10 Sep 2012 13:26:21 +0200, Luca Barbato wrote: > Do not crash if the input format is not allocated yet. When would that happen? -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/liba

Re: [libav-devel] [PATCH] x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared

2012-09-13 Thread Diego Biurrun
On Thu, Sep 13, 2012 at 11:40:43AM +0300, Martin Storsjö wrote: > This fixes building without inline assembly. > --- > libavcodec/x86/ac3dsp_init.c |2 ++ > 1 file changed, 2 insertions(+) OK Diego ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 2/2] avformat: refactor avformat_close_input

2012-09-13 Thread Janne Grunau
On 2012-09-10 13:26:21 +0200, Luca Barbato wrote: > Do not crash if the input format is not allocated yet. > --- > libavformat/utils.c | 17 + > 1 file changed, 13 insertions(+), 4 deletions(-) > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index 3a829a9..c0da7f2 100

Re: [libav-devel] [PATCH 1/2] avformat: simplify avformat_close_input

2012-09-13 Thread Janne Grunau
On 2012-09-10 13:26:20 +0200, Luca Barbato wrote: > avio_close checks by itself for NULL condition. > --- > libavformat/utils.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index 81a4b34..3a829a9 100644 > --- a/libavforma

Re: [libav-devel] [PATCH 1/2] avformat: simplify avformat_close_input

2012-09-13 Thread Luca Barbato
On 9/10/12 1:26 PM, Luca Barbato wrote: avio_close checks by itself for NULL condition. --- libavformat/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 81a4b34..3a829a9 100644 --- a/libavformat/utils.c +++ b/libavf

Re: [libav-devel] [PATCH] os_support: Include io.h instead of direct.h on mingw32ce

2012-09-13 Thread Luca Barbato
On 9/13/12 11:36 AM, Martin Storsjö wrote: Windows CE doesn't have neither mkdir nor _mkdir officially (only CreateDirectoryW), but mingw32ce has compat wrappers with these names (declared in io.h since direct.h is unavailable). --- libavformat/os_support.h |4 1 file changed, 4 inser

[libav-devel] [PATCH] os_support: Include io.h instead of direct.h on mingw32ce

2012-09-13 Thread Martin Storsjö
Windows CE doesn't have neither mkdir nor _mkdir officially (only CreateDirectoryW), but mingw32ce has compat wrappers with these names (declared in io.h since direct.h is unavailable). --- libavformat/os_support.h |4 1 file changed, 4 insertions(+) diff --git a/libavformat/os_support.h

Re: [libav-devel] [PATCH] x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared

2012-09-13 Thread Luca Barbato
On 9/13/12 10:40 AM, Martin Storsjö wrote: This fixes building without inline assembly. --- libavcodec/x86/ac3dsp_init.c |2 ++ 1 file changed, 2 insertions(+) Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mail

[libav-devel] [PATCH] x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared

2012-09-13 Thread Martin Storsjö
This fixes building without inline assembly. --- libavcodec/x86/ac3dsp_init.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/x86/ac3dsp_init.c b/libavcodec/x86/ac3dsp_init.c index b23a9a1..5008d65 100644 --- a/libavcodec/x86/ac3dsp_init.c +++ b/libavcodec/x86/ac3dsp_init.c @@