[libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Luca Barbato
--- Here an initial patch to support many yuva, apparently either I botched adding them (since I did lots of cut and paste) or they manage the expose some flaws in swscale. valgrind manages to spot something and might be nice if other people try this and see if the values for the fate-lavfi

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Ronald S. Bultje
Hi, On Sat, Oct 13, 2012 at 11:06 PM, Luca Barbato lu_z...@gentoo.org wrote: --- Here an initial patch to support many yuva, apparently either I botched adding them (since I did lots of cut and paste) or they manage the expose some flaws in swscale. valgrind manages to spot something and

Re: [libav-devel] [PATCH] announce plain 9 beta 1 release

2012-10-14 Thread Anton Khirnov
On Sat, 13 Oct 2012 10:18:24 -0400, Reinhard Tartler siret...@tauware.de wrote: --- src/download | 22 src/news | 82 ++ 2 files changed, 104 insertions(+) This is my first shot at the news site entry.

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Luca Barbato
On 10/14/2012 08:13 AM, Ronald S. Bultje wrote: Hi, On Sat, Oct 13, 2012 at 11:06 PM, Luca Barbato lu_z...@gentoo.org wrote: --- Here an initial patch to support many yuva, apparently either I botched adding them (since I did lots of cut and paste) or they manage the expose some flaws

[libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread John Stebbins
From d8ffaee164efaf8d9bc97b4b63549cff5105 Mon Sep 17 00:00:00 2001 From: John Stebbins jstebbins...@gmail.com Date: Sun, 14 Oct 2012 16:28:48 +0200 Subject: [PATCH 1/2] PGS subtitles: Expose forced flag Useful for detection of subtitles displayed during foreign language scenes. ---

[libav-devel] [PATCH] PGS subtitles: Set AVSubtitle pts value

2012-10-14 Thread John Stebbins
From bbbd5c3a085b88fbf8362fd720cb4b884802d41a Mon Sep 17 00:00:00 2001 From: John Stebbins jstebbins...@gmail.com Date: Sun, 14 Oct 2012 16:37:06 +0200 Subject: [PATCH 2/2] PGS subtitles: Set AVSubtitle pts value pts should be that of the packet containing the presentation segment. ---

Re: [libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread Luca Barbato
On 10/14/2012 04:52 PM, John Stebbins wrote: +uint8_t forced; why uint8_t ? I guess it would require a version bump btw. In itself looks a good feature (and probably the players would enjoy having this information) lu ___ libav-devel mailing list

Re: [libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread Måns Rullgård
Luca Barbato lu_z...@gentoo.org writes: On 10/14/2012 04:52 PM, John Stebbins wrote: +uint8_t forced; why uint8_t ? I guess it would require a version bump btw. Add a flags member instead so more things can be added later without changing ABI incompatibly again. -- Måns Rullgård

Re: [libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread John Stebbins
On 10/14/2012 05:14 PM, Luca Barbato wrote: On 10/14/2012 04:52 PM, John Stebbins wrote: +uint8_t forced; why uint8_t ? I guess it would require a version bump btw. In itself looks a good feature (and probably the players would enjoy having this information) uint8_t appears to be used

Re: [libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread John Stebbins
On 10/14/2012 05:17 PM, Måns Rullgård wrote: Luca Barbato lu_z...@gentoo.org writes: On 10/14/2012 04:52 PM, John Stebbins wrote: +uint8_t forced; why uint8_t ? I guess it would require a version bump btw. Add a flags member instead so more things can be added later without changing

Re: [libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread John Stebbins
On 10/14/2012 05:14 PM, Luca Barbato wrote: On 10/14/2012 04:52 PM, John Stebbins wrote: +uint8_t forced; why uint8_t ? I guess it would require a version bump btw. In itself looks a good feature (and probably the players would enjoy having this information) lu Is the version number

[libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Luca Barbato
Limit the space taken to 30 lines anyway. --- This should make Diego happy =P The pager is a little ugly so I guess I'll change it to something more square and green. Makefile | 7 --- awk_split| 20 sed_commands | 13 - 3 files changed, 24

[libav-devel] [PATCH] about: update to the current state

2012-10-14 Thread Luca Barbato
--- src/about | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/about b/src/about index 607a8b7..2e63812 100644 --- a/src/about +++ b/src/about @@ -13,7 +13,7 @@ to go forward./small p We are committed to provide major releases yearly and point

Re: [libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread Luca Barbato
On 10/14/2012 05:41 PM, John Stebbins wrote: On 10/14/2012 05:14 PM, Luca Barbato wrote: On 10/14/2012 04:52 PM, John Stebbins wrote: +uint8_t forced; why uint8_t ? I guess it would require a version bump btw. In itself looks a good feature (and probably the players would enjoy having

Re: [libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Måns Rullgård
Luca Barbato lu_z...@gentoo.org writes: Limit the space taken to 30 lines anyway. --- This should make Diego happy =P The pager is a little ugly so I guess I'll change it to something more square and green. Makefile | 7 --- awk_split| 20 sed_commands

Re: [libav-devel] [PATCH] about: update to the current state

2012-10-14 Thread Måns Rullgård
Luca Barbato lu_z...@gentoo.org writes: --- src/about | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/about b/src/about index 607a8b7..2e63812 100644 --- a/src/about +++ b/src/about @@ -13,7 +13,7 @@ to go forward./small p We are committed

Re: [libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread John Stebbins
On 10/14/2012 05:17 PM, Måns Rullgård wrote: Luca Barbato lu_z...@gentoo.org writes: On 10/14/2012 04:52 PM, John Stebbins wrote: +uint8_t forced; why uint8_t ? I guess it would require a version bump btw. Add a flags member instead so more things can be added later without changing ABI

Re: [libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Luca Barbato
On 10/14/2012 06:25 PM, Måns Rullgård wrote: Luca Barbato lu_z...@gentoo.org writes: Limit the space taken to 30 lines anyway. --- This should make Diego happy =P The pager is a little ugly so I guess I'll change it to something more square and green. Makefile | 7 ---

Re: [libav-devel] [PATCH] about: update to the current state

2012-10-14 Thread Luca Barbato
On 10/14/2012 06:27 PM, Måns Rullgård wrote: Luca Barbato lu_z...@gentoo.org writes: --- src/about | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/about b/src/about index 607a8b7..2e63812 100644 --- a/src/about +++ b/src/about @@ -13,7 +13,7

Re: [libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Måns Rullgård
Luca Barbato lu_z...@gentoo.org writes: +sub(/\.*/, , name); +name = url # name; +} + +/\h3[^h3]*h3/ { That pattern looks wrong. What are you actually trying to match? \ is wrong, to match any h3 h3 should be enough. I was mainly thinking of the [^h3] part. This will prevent

Re: [libav-devel] [PATCH] PGS subtitles: Exposed forced flag

2012-10-14 Thread John Stebbins
On 10/14/2012 06:28 PM, John Stebbins wrote: On 10/14/2012 05:17 PM, Måns Rullgård wrote: Luca Barbato lu_z...@gentoo.org writes: On 10/14/2012 04:52 PM, John Stebbins wrote: +uint8_t forced; why uint8_t ? I guess it would require a version bump btw. Add a flags member instead so more

[libav-devel] [PATCH] aacdec: use float planar sample format for output

2012-10-14 Thread Justin Ruggles
--- Simpler version that keeps the output configuration handling as-is. libavcodec/aac.h|7 ++- libavcodec/aacdec.c | 104 +++ libavcodec/aacsbr.c |6 +-- 3 files changed, 69 insertions(+), 48 deletions(-) diff --git

Re: [libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Luca Barbato
On 10/14/2012 07:30 PM, Måns Rullgård wrote: Luca Barbato lu_z...@gentoo.org writes: +sub(/\.*/, , name); +name = url # name; +} + +/\h3[^h3]*h3/ { That pattern looks wrong. What are you actually trying to match? \ is wrong, to match any h3 h3 should be enough. I was

[libav-devel] [PATCH] lavc: update documentation for AVFrame.extended_data

2012-10-14 Thread Justin Ruggles
--- libavcodec/avcodec.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 51270e6..cda6703 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -990,7 +990,7 @@ typedef struct AVFrame { * extended_data

Re: [libav-devel] FFv1.3 support

2012-10-14 Thread Peter B.
On 10/12/2012 12:24 AM, Luca Barbato wrote: On 10/05/2012 05:31 PM, Peter B. wrote: On 10/01/2012 05:30 PM, Luca Barbato wrote: I'm rebasing old patches supporting some pixel formats and possibly I'll have a look at ffv1 to see what really changed. In order to avoid misunderstandings, I

Re: [libav-devel] [PATCH] lavc: update documentation for AVFrame.extended_data

2012-10-14 Thread Anton Khirnov
On Sun, 14 Oct 2012 14:32:08 -0400, Justin Ruggles justin.rugg...@gmail.com wrote: --- libavcodec/avcodec.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 51270e6..cda6703 100644 --- a/libavcodec/avcodec.h +++

Re: [libav-devel] FFv1.3 support

2012-10-14 Thread Luca Barbato
On 10/14/2012 08:39 PM, Peter B. wrote: On 10/12/2012 12:24 AM, Luca Barbato wrote: On 10/05/2012 05:31 PM, Peter B. wrote: On 10/01/2012 05:30 PM, Luca Barbato wrote: I'm rebasing old patches supporting some pixel formats and possibly I'll have a look at ffv1 to see what really changed. In

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Ronald S. Bultje
Hi, On Sat, Oct 13, 2012 at 11:13 PM, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Sat, Oct 13, 2012 at 11:06 PM, Luca Barbato lu_z...@gentoo.org wrote: --- Here an initial patch to support many yuva, apparently either I botched adding them (since I did lots of cut and paste) or they

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Ronald S. Bultje
Hi, On Sun, Oct 14, 2012 at 12:53 PM, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Sat, Oct 13, 2012 at 11:13 PM, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Sat, Oct 13, 2012 at 11:06 PM, Luca Barbato lu_z...@gentoo.org wrote: --- Here an initial patch to support many yuva,

Re: [libav-devel] [PATCH] about: update to the current state

2012-10-14 Thread Diego Biurrun
On Sun, Oct 14, 2012 at 06:11:54PM +0200, Luca Barbato wrote: --- a/src/about +++ b/src/about @@ -13,7 +13,7 @@ to go forward./small p We are committed to provide major releases yearly and point releases at least on a quaterly rate. We try to maintain at least two major release -at time

Re: [libav-devel] [PATCH] about: update to the current state

2012-10-14 Thread Luca Barbato
On 10/14/2012 10:12 PM, Diego Biurrun wrote: On Sun, Oct 14, 2012 at 06:11:54PM +0200, Luca Barbato wrote: Please commit the patch with those changes while I finish the pager styling =) lu ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Luca Barbato
On 10/14/2012 09:54 PM, Ronald S. Bultje wrote: Hi, On Sun, Oct 14, 2012 at 12:53 PM, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Sat, Oct 13, 2012 at 11:13 PM, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Sat, Oct 13, 2012 at 11:06 PM, Luca Barbato lu_z...@gentoo.org wrote:

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Ronald S. Bultje
Hi, On Sun, Oct 14, 2012 at 1:39 PM, Luca Barbato lu_z...@gentoo.org wrote: On 10/14/2012 09:54 PM, Ronald S. Bultje wrote: Hi, On Sun, Oct 14, 2012 at 12:53 PM, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Sat, Oct 13, 2012 at 11:13 PM, Ronald S. Bultje rsbul...@gmail.com wrote:

Re: [libav-devel] FFv1.3 support

2012-10-14 Thread Peter B.
On 10/14/2012 09:20 PM, Luca Barbato wrote: Could you please provide me a small sample of it? You can generate it, using red_kayak from xiph/derf's collection: http://media.xiph.org/video/derf/y4m/red_kayak_1080p.y4m Using the current git of ffmpeg, create the FFv1.3 video as follows:

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Luca Barbato
On 10/14/2012 10:43 PM, Ronald S. Bultje wrote: Hi, On Sun, Oct 14, 2012 at 1:39 PM, Luca Barbato lu_z...@gentoo.org wrote: On 10/14/2012 09:54 PM, Ronald S. Bultje wrote: Hi, On Sun, Oct 14, 2012 at 12:53 PM, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Sat, Oct 13, 2012 at

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Ronald S. Bultje
Hi, On Sun, Oct 14, 2012 at 2:12 PM, Luca Barbato lu_z...@gentoo.org wrote: On 10/14/2012 10:43 PM, Ronald S. Bultje wrote: Hi, On Sun, Oct 14, 2012 at 1:39 PM, Luca Barbato lu_z...@gentoo.org wrote: On 10/14/2012 09:54 PM, Ronald S. Bultje wrote: Hi, On Sun, Oct 14, 2012 at 12:53 PM,

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

2012-10-14 Thread Justin Ruggles
--- libavcodec/aac.h|7 ++- libavcodec/aacdec.c | 104 +++ libavcodec/aacsbr.c |6 +-- 3 files changed, 69 insertions(+), 48 deletions(-) diff --git a/libavcodec/aac.h b/libavcodec/aac.h index 32baf9d..70470dd 100644 ---

[libav-devel] [PATCH 2/4] mpegaudiodec: use planar sample format

2012-10-14 Thread Justin Ruggles
--- libavcodec/mpegaudiodec.c | 95 +++ libavcodec/mpegaudiodec_float.c | 14 ++ 2 files changed, 61 insertions(+), 48 deletions(-) diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 80acdad..66cbca1 100644 ---

[libav-devel] [PATCH 3/4] pcmdec: use planar sample format for pcm_s16le_planar

2012-10-14 Thread Justin Ruggles
--- libavcodec/pcm.c | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index c6c6bc0..da0e696 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -340,15 +340,16 @@ static int pcm_decode_frame(AVCodecContext *avctx,

[libav-devel] [PATCH 4/4] vorbisdec: use float planar sample format

2012-10-14 Thread Justin Ruggles
--- libavcodec/vorbisdec.c | 81 ++- 1 files changed, 31 insertions(+), 50 deletions(-) diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c index f5a541a..496d4c3 100644 --- a/libavcodec/vorbisdec.c +++ b/libavcodec/vorbisdec.c @@ -151,9

[libav-devel] [PATCH 2/4] mpegaudiodec: use planar sample format

2012-10-14 Thread Justin Ruggles
--- Fix sample format for mp3on4. libavcodec/mpegaudiodec.c | 95 +++ libavcodec/mpegaudiodec_float.c | 14 ++ 2 files changed, 61 insertions(+), 48 deletions(-) diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index

Re: [libav-devel] [RFC] pixfmt: support more yuva formats

2012-10-14 Thread Luca Barbato
On 10/14/2012 11:36 PM, Ronald S. Bultje wrote: Well yes, can we first sort out this stuff without nut? I mean, I Sure! really don't have much reason to trust nut at this moment. When you test a typical conversion (convert that thing to nut without colorspace conversion, and then ./avplay

Re: [libav-devel] [PATCH 4/4] vorbisdec: use float planar sample format

2012-10-14 Thread Luca Barbato
On 10/14/2012 11:40 PM, Justin Ruggles wrote: --- libavcodec/vorbisdec.c | 81 ++- 1 files changed, 31 insertions(+), 50 deletions(-) Looks ok, how did you test it? lu ___ libav-devel mailing list

[libav-devel] [PATCH] rmdec: Move code shared with Matroska demuxer to RealMedia common code

2012-10-14 Thread Diego Biurrun
This removes a dependency of the Matroska demuxer on the RealMedia demuxer while only minimally bloating a RealMedia muxer only build. --- libavformat/Makefile |4 ++-- libavformat/rm.c | 41 + libavformat/rmdec.c | 41

Re: [libav-devel] [PATCH] rmdec: Move code shared with Matroska demuxer to RealMedia common code

2012-10-14 Thread Luca Barbato
On 10/15/2012 12:02 AM, Diego Biurrun wrote: This removes a dependency of the Matroska demuxer on the RealMedia demuxer while only minimally bloating a RealMedia muxer only build. --- libavformat/Makefile |4 ++-- libavformat/rm.c | 41 +

Re: [libav-devel] [PATCH 4/4] vorbisdec: use float planar sample format

2012-10-14 Thread Justin Ruggles
On 10/14/2012 05:55 PM, Luca Barbato wrote: On 10/14/2012 11:40 PM, Justin Ruggles wrote: --- libavcodec/vorbisdec.c | 81 ++- 1 files changed, 31 insertions(+), 50 deletions(-) Looks ok, how did you test it? make fate-vorbis and some

Re: [libav-devel] [PATCH 2/2] Add support for building shared libraries with MSVC

2012-10-14 Thread Martin Storsjö
On Sat, 13 Oct 2012, Måns Rullgård wrote: Martin Storsjö mar...@martin.st writes: +#if CONFIG_SHARED defined(_WIN32) !defined(COMPILING_avcodec) +#define avcodec_exportdata __declspec(dllimport) +#else +#define avcodec_exportdata +#endif I want to think about this some more. Any further

Re: [libav-devel] [PATCH] rmdec: Move code shared with Matroska demuxer to RealMedia common code

2012-10-14 Thread Ronald S. Bultje
Hi, On Sun, Oct 14, 2012 at 3:02 PM, Diego Biurrun di...@biurrun.de wrote: This removes a dependency of the Matroska demuxer on the RealMedia demuxer while only minimally bloating a RealMedia muxer only build. --- libavformat/Makefile |4 ++-- libavformat/rm.c | 41

[libav-devel] [PATCH] swscale: support gray to 9bit and 10bit formats

2012-10-14 Thread Luca Barbato
--- libswscale/swscale_unscaled.c | 32 ++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 70eff72..e6ec7b5 100644 --- a/libswscale/swscale_unscaled.c +++

[libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Luca Barbato
Limit the space taken to 30 lines anyway. --- Now with a more custom style. Makefile | 7 --- htdocs/css/bootstrap.css | 13 +++-- sed_commands | 13 - split.awk| 20 4 files changed, 31 insertions(+), 22

Re: [libav-devel] [PATCH 2/2] Add support for building shared libraries with MSVC

2012-10-14 Thread Måns Rullgård
Martin Storsjö mar...@martin.st writes: On Sat, 13 Oct 2012, Måns Rullgård wrote: Martin Storsjö mar...@martin.st writes: +#if CONFIG_SHARED defined(_WIN32) !defined(COMPILING_avcodec) +#define avcodec_exportdata __declspec(dllimport) +#else +#define avcodec_exportdata +#endif I want

Re: [libav-devel] [PATCH] rmdec: Move code shared with Matroska demuxer to RealMedia common code

2012-10-14 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: Hi, On Sun, Oct 14, 2012 at 3:02 PM, Diego Biurrun di...@biurrun.de wrote: This removes a dependency of the Matroska demuxer on the RealMedia demuxer while only minimally bloating a RealMedia muxer only build. --- libavformat/Makefile |4

[libav-devel] [PATCH] swscale: support gray to 9bit and 10bit formats

2012-10-14 Thread Luca Barbato
--- Some code duplication, still not solving all the issues with yuva. libswscale/swscale.c | 37 +++-- libswscale/swscale_unscaled.c | 32 ++-- 2 files changed, 65 insertions(+), 4 deletions(-) diff --git

Re: [libav-devel] [PATCH] build: support asan and tsan toolchain shortcuts

2012-10-14 Thread Luca Barbato
On 10/14/2012 07:55 AM, Luca Barbato wrote: --- configure | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configure b/configure index 26cd7ea..b4a1f96 100755 --- a/configure +++ b/configure @@ -2053,6 +2053,16 @@ case $toolchain in nm_default=dumpbin -symbols

[libav-devel] [PATCH] build: support asan and tsan toolchain shortcuts

2012-10-14 Thread Luca Barbato
--- configure | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configure b/configure index d8a5728..cb29f13 100755 --- a/configure +++ b/configure @@ -2053,6 +2053,16 @@ case $toolchain in nm_default=dumpbin -symbols ar_default=lib ;; +clang-asan) +

[libav-devel] [PATCH 01/15] configure: simplify get_version() function

2012-10-14 Thread Mans Rullgard
awk alone can do this, no need for grep. Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 700e99d..3bb8fff 100755 --- a/configure +++ b/configure @@ -3775,7 +3775,7 @@ get_version(){

[libav-devel] [PATCH 02/15] configure: simplify argument handling in check_ld

2012-10-14 Thread Mans Rullgard
Use the existing filter functions instead of open-coding the separation of general flags and libraries. Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 3bb8fff..eeefeaf 100755 ---

[libav-devel] [PATCH 05/15] network: #include stdint.h in network.h

2012-10-14 Thread Mans Rullgard
This header uses various types provided by stdint.h without explicitly including it. Signed-off-by: Mans Rullgard m...@mansr.com --- libavformat/network.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/network.h b/libavformat/network.h index 19c5a92..da9d926 100644 ---

[libav-devel] [PATCH 03/15] build: simplify enabling of compat objects

2012-10-14 Thread Mans Rullgard
Add a configure function to pull in a compat object and set up redirects in one operation. This avoids duplicating conditions across configure and makefiles. Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 15 +++ libavutil/Makefile | 3 +-- 2 files changed, 12

[libav-devel] [PATCH 04/15] Include sys/time.h before sys/resource.h

2012-10-14 Thread Mans Rullgard
Some systems require sys/time.h being explicitly included before sys/resource.h. The configure check already does this. Signed-off-by: Mans Rullgard m...@mansr.com --- avconv.c | 1 + cmdutils.c | 1 + 2 files changed, 2 insertions(+) diff --git a/avconv.c b/avconv.c index 4d9c7c0..20d873e

[libav-devel] [PATCH 07/15] network: use getservbyport() only if available

2012-10-14 Thread Mans Rullgard
The absence of this function will only give a less informative string back from our fallback implementation of getnameinfo(). Signed-off-by: Mans Rullgard m...@mansr.com --- configure| 2 ++ libavformat/os_support.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure

[libav-devel] [PATCH 11/15] tiny_psnr: check for specified sample size less than 1

2012-10-14 Thread Mans Rullgard
A zero or negative sample size is impossible and should be reported as an error. Signed-off-by: Mans Rullgard m...@mansr.com --- tests/tiny_psnr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c index 5db2662..a53a670 100644 ---

[libav-devel] [PATCH 06/15] network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN

2012-10-14 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- libavformat/network.h | 8 1 file changed, 8 insertions(+) diff --git a/libavformat/network.h b/libavformat/network.h index da9d926..5160767 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -188,6 +188,14 @@ const char

[libav-devel] [PATCH 09/15] swscale: avoid pointless use of compound literals

2012-10-14 Thread Mans Rullgard
Some compilers (e.g. old gcc) have trouble with these. Signed-off-by: Mans Rullgard m...@mansr.com --- libswscale/swscale_unscaled.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index

[libav-devel] [PATCH 12/15] tiny_psnr: fix range calculation for sample size of 32 bits

2012-10-14 Thread Mans Rullgard
For a sample size of 32 bits, the shift would overflow producing undefined results. Incidentally, in the only test currently using 32-bit samples, the output matches the reference exactly on most systems meaning the bad 'max' value is never used. Signed-off-by: Mans Rullgard m...@mansr.com ---

[libav-devel] [PATCH 10/15] fate: improve md5sum utility selection

2012-10-14 Thread Mans Rullgard
The 'md5sum' command is used with the -b flag so the presence test must also use this flag. Signed-off-by: Mans Rullgard m...@mansr.com --- tests/md5.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/md5.sh b/tests/md5.sh index 4b95127..0b382b1 100644 ---

[libav-devel] [PATCH 14/15] build: allow targets to specify extra objects to link with executables

2012-10-14 Thread Mans Rullgard
This allows targets to include special objects when linking executables without including them in (shared) libraries. Signed-off-by: Mans Rullgard m...@mansr.com --- Makefile| 8 configure | 1 + library.mak | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git

[libav-devel] [PATCH 13/15] build: simplify linking tools with cmdutils.o

2012-10-14 Thread Mans Rullgard
This avoids repeating cmdutils.o in both the prerequisites and the link command. Signed-off-by: Mans Rullgard m...@mansr.com --- Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9abb835..4c2553f 100644 --- a/Makefile +++ b/Makefile @@

[libav-devel] [PATCH 08/15] libm: add fallbacks for various single-precision functions

2012-10-14 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- configure | 16 libavcodec/aacps_tablegen.h | 1 + libavutil/libm.h| 40 3 files changed, 57 insertions(+) diff --git a/configure b/configure index

[libav-devel] [PATCH 15/15] build: Plan 9 support

2012-10-14 Thread Mans Rullgard
This adds support for building on Plan 9 x86-32. The compat/plan9 directory contains a few different items: - replacements for the 'head' and 'printf' shell commands - minor fixups for a couple of system headers - wrapper for main() to disable FPU exceptions Larger required changes to the

Re: [libav-devel] [PATCH 09/15] swscale: avoid pointless use of compound literals

2012-10-14 Thread Ronald S. Bultje
On Sun, Oct 14, 2012 at 8:11 PM, Mans Rullgard m...@mansr.com wrote: Some compilers (e.g. old gcc) have trouble with these. Signed-off-by: Mans Rullgard m...@mansr.com --- libswscale/swscale_unscaled.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git

Re: [libav-devel] [PATCH 12/15] tiny_psnr: fix range calculation for sample size of 32 bits

2012-10-14 Thread Justin Ruggles
On 10/14/2012 11:11 PM, Mans Rullgard wrote: For a sample size of 32 bits, the shift would overflow producing undefined results. Incidentally, in the only test currently using 32-bit samples, the output matches the reference exactly on most systems meaning the bad 'max' value is never used.