Re: [libav-devel] [PATCH 4/5] [RFC] jpeg2000: fix dereferencing invalid pointers

2014-03-01 Thread Vittorio Giovara
On Thu, Nov 28, 2013 at 1:37 AM, Luca Barbato lu_z...@gentoo.org wrote: On 27/11/13 17:11, Vittorio Giovara wrote: From: Michael Niedermayer michae...@gmx.at Found-by: Laurent Butti laure...@gmail.com --- No sample to check the validity of the fix, although it seems correct. Vittorio Use

Re: [libav-devel] [PATCH] ituh263: reject b-frame with pp_time = 0

2014-03-01 Thread Vittorio Giovara
On Sat, Mar 1, 2014 at 11:18 PM, Vittorio Giovara vittorio.giov...@gmail.com wrote: On Sat, Mar 1, 2014 at 8:17 PM, Keiji Costantini stri...@gmail.com wrote: avoid division by 0 at ff_mpeg4_set_one_direct_mv Sample-Id: 0168-google Reported-by: Mateusz j00ru Jurczyk and Gynvael Coldwind

Re: [libav-devel] [PATCH 01/10] svq3: remove unused ff_draw_horiz_band code

2014-03-01 Thread Vittorio Giovara
On Sat, Mar 1, 2014 at 7:17 PM, Luca Barbato lu_z...@gentoo.org wrote: On 01/03/14 18:22, Vittorio Giovara wrote: first_field is always 0 and the code always return from that condition. s-first_field_band you mean? No I mean first_field in the ff_draw_horiz_band() function, which calls

Re: [libav-devel] [PATCH 01/10] svq3: remove unused ff_draw_horiz_band code

2014-03-01 Thread Vittorio Giovara
On Sat, Mar 1, 2014 at 11:59 PM, Vittorio Giovara vittorio.giov...@gmail.com wrote: On Sat, Mar 1, 2014 at 7:17 PM, Luca Barbato lu_z...@gentoo.org wrote: On 01/03/14 18:22, Vittorio Giovara wrote: first_field is always 0 and the code always return from that condition. s-first_field_band you

Re: [libav-devel] [PATCH] vf_frei0r: prevent a segfault when filter parameters are not set

2014-03-04 Thread Vittorio Giovara
On Thu, Feb 27, 2014 at 1:36 PM, Vittorio Giovara vittorio.giov...@gmail.com wrote: --- I actually like this vesion more. Vittorio libavfilter/vf_frei0r.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index 8a70a8f..54af518

Re: [libav-devel] [PATCH] vf_frei0r: refactor library loading from env variable

2014-03-04 Thread Vittorio Giovara
On Thu, Feb 27, 2014 at 1:47 PM, Vittorio Giovara vittorio.giov...@gmail.com wrote: strtok_r is not needed any more, so remove it from configure. --- Minor edits in the comments and commit log. Should the configure part be in a separate patch? Vittorio configure | 6

[libav-devel] [PATCH 3/3] mpegvideo: Refactor ff_mpeg_draw_horiz_band

2014-03-04 Thread Vittorio Giovara
Use frames directly and add a NULL check. Also drop ff_draw_horiz_band() because it's not used anywhere. --- libavcodec/mpegvideo.c | 57 +- libavcodec/mpegvideo.h | 5 + 2 files changed, 29 insertions(+), 33 deletions(-) diff --git

[libav-devel] [PATCH 2/3] svq3: use ff_h264_draw_horiz_band directly

2014-03-04 Thread Vittorio Giovara
--- libavcodec/svq3.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index fac95ee..cf6e68c 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -1267,10 +1267,9 @@ static int svq3_decode_frame(AVCodecContext *avctx, void

[libav-devel] [PATCH 1/3] h264: Refactor ff_h264_draw_horiz_band() into a more generic function

2014-03-04 Thread Vittorio Giovara
Also add a NULL check and use directly frames instead of pictures. --- This is done so that svq3 will be able to use this function directly instead going through mpegvideo. Vittorio libavcodec/h264.c | 25 - libavcodec/h264.h | 4 +++- 2 files changed, 19 insertions(+),

[libav-devel] [PATCH] vf_frei0r: refactor library loading from env variable

2014-03-04 Thread Vittorio Giovara
strtok_r is not needed any more, so remove it from configure. --- Changed do while into while, reduced scope of ptr and use ++ to skip trailing characters. Vittorio configure | 6 ++ libavfilter/vf_frei0r.c | 18 -- 2 files changed, 14 insertions(+), 10

Re: [libav-devel] [PATCH 1/3] h264: Refactor ff_h264_draw_horiz_band() into a more generic function

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 11:24 AM, Luca Barbato lu_z...@gentoo.org wrote: On 04/03/14 11:18, Vittorio Giovara wrote: Also add a NULL check and use directly frames instead of pictures. --- This is done so that svq3 will be able to use this function directly instead going through mpegvideo

[libav-devel] [PATCH] vf_frei0r: refactor library loading from env variable

2014-03-04 Thread Vittorio Giovara
strtok_r is not needed any more, so remove it from configure. --- Changed to use *path instead of strlen(path). Vittoio configure | 6 ++ libavfilter/vf_frei0r.c | 18 -- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/configure b/configure

[libav-devel] [PATCH] doc: fix typo in frame.h

2014-03-04 Thread Vittorio Giovara
--- libavutil/frame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/frame.h b/libavutil/frame.h index 30cc1e4..4904672 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -428,7 +428,7 @@ AVFrame *av_frame_alloc(void); void av_frame_free(AVFrame **frame);

Re: [libav-devel] [PATCH] documentation: Add link to C++ minimal video player example by roxlu

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 3:58 PM, Diego Biurrun di...@biurrun.de wrote: Also remove existing dead or outdated tutorial links. --- src/documentation | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/documentation b/src/documentation index 50e00c0..56c2444 100644

[libav-devel] [PATCH] vf_frei0r: fix missing end of line character

2014-03-04 Thread Vittorio Giovara
Error introduced in 61b323ce7c7cdc101eadfd7de2203922b8a39e8d. --- Sorry for the silly error. Vittorio libavfilter/vf_frei0r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index c969967..771443d 100644 ---

[libav-devel] [PATCH 09/12] mpegvideo: move MB_TYPE_* and IS_* macros to mbtype.h

2014-03-04 Thread Vittorio Giovara
Also adjust the headers as needed. --- libavcodec/error_resilience.c | 1 + libavcodec/h261dec.c | 1 + libavcodec/h261enc.c | 1 + libavcodec/h263.c | 1 + libavcodec/h264.h | 1 + libavcodec/ituh263dec.c | 1 + libavcodec/mbtype.h

[libav-devel] [PATCH 01/12] mpegvideo: directly use frames in ff_draw_horiz_band()

2014-03-04 Thread Vittorio Giovara
--- libavcodec/mpegvideo.c | 17 + libavcodec/mpegvideo.h | 2 +- libavcodec/svq3.c | 3 +-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 73778f5..59c64b8 100644 --- a/libavcodec/mpegvideo.c +++

[libav-devel] [PATCH 07/12] h264: Remove MotionEstContext and move the relevant fields in H264Context

2014-03-04 Thread Vittorio Giovara
--- libavcodec/h264.c | 17 - libavcodec/h264.h | 8 +++- libavcodec/h264_mb_template.c | 12 ++-- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index bf303b0..46f325b 100644 ---

[libav-devel] [PATCH 00/12] H264 FREEDOM v2 call for help

2014-03-04 Thread Vittorio Giovara
Vittorio Giovara (12): mpegvideo: directly use frames in ff_draw_horiz_band() h264: directly use frames in ff_h264_draw_horiz_band() er: move relevant fields from Picture to ERPicture h264: move relevant fields from Picture to H264Picture h264: Replace mpegvideo-specific MAX_PICTURE_COUNT

[libav-devel] [PATCH 06/12] h264: Replace mpegvideo-specific MAX_THREADS by private define

2014-03-04 Thread Vittorio Giovara
--- libavcodec/h264.c | 8 libavcodec/h264.h | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 536ec47..bf303b0 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1195,7 +1195,7 @@ static void

[libav-devel] [PATCH 05/12] h264: Replace mpegvideo-specific MAX_PICTURE_COUNT by private define

2014-03-04 Thread Vittorio Giovara
--- libavcodec/h264.c| 22 +++--- libavcodec/h264.h| 2 ++ libavcodec/h264_ps.c | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index e6011b5..536ec47 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@

[libav-devel] [PATCH 10/12] mpegvideo: move ff_draw_horiz_band() in utils.c

2014-03-04 Thread Vittorio Giovara
--- libavcodec/internal.h | 7 +++ libavcodec/mpegvideo.c | 50 --- libavcodec/mpegvideo.h | 3 --- libavcodec/utils.c | 53 ++ 4 files changed, 60 insertions(+), 53 deletions(-) diff --git

[libav-devel] [PATCH 02/12] h264: directly use frames in ff_h264_draw_horiz_band()

2014-03-04 Thread Vittorio Giovara
--- libavcodec/h264.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index c76abf7..76cdb0c 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -212,8 +212,8 @@ static void h264_er_decode_mb(void *opaque, int ref, int

[libav-devel] [PATCH 04/12] h264: move relevant fields from Picture to H264Picture

2014-03-04 Thread Vittorio Giovara
A new function is introduced to support ERPicture. --- libavcodec/dxva2_h264.c | 10 +++ libavcodec/h264.c| 70 libavcodec/h264.h| 55 ++--- libavcodec/h264_direct.c | 8 +++---

[libav-devel] [PATCH 08/12] mpegvideo: move PICT_* macros into picttype.h

2014-03-04 Thread Vittorio Giovara
Also adjust the headers as needed. --- libavcodec/dxva2_h264.c | 1 + libavcodec/dxva2_mpeg2.c | 1 + libavcodec/dxva2_vc1.c| 1 + libavcodec/h264.h | 1 + libavcodec/mpeg12dec.c| 1 + libavcodec/mpegvideo.c| 1 + libavcodec/mpegvideo.h

[libav-devel] [PATCH 11/12] mpegvideo: remove h264-only fields

2014-03-04 Thread Vittorio Giovara
--- libavcodec/mpegvideo.h | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index ab2d433..26d7c2e 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -119,21 +119,8 @@ typedef struct Picture{

[libav-devel] [PATCH 03/12] er: move relevant fields from Picture to ERPicture

2014-03-04 Thread Vittorio Giovara
A new function is introduced to keep compatibility across the code. --- libavcodec/error_resilience.c | 208 +- libavcodec/error_resilience.h | 21 - libavcodec/h264.c | 6 +- libavcodec/mpegvideo.c| 28 +-

[libav-devel] [PATCH 12/12] h264 does not depend on mpegvideo any more

2014-03-04 Thread Vittorio Giovara
--- libavcodec/h264.c| 1 - libavcodec/h264.h| 3 ++- libavcodec/h264_cavlc.c | 1 - libavcodec/h264_direct.c | 1 - libavcodec/h264_loopfilter.c | 1 - libavcodec/h264data.h| 1 - 6 files changed, 2 insertions(+), 6 deletions(-) diff --git

Re: [libav-devel] [PATCH 02/12] h264: directly use frames in ff_h264_draw_horiz_band()

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 10:08 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 19:24:32 +0100, Vittorio Giovara wrote: --- libavcodec/h264.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index c76abf7..76cdb0c

Re: [libav-devel] [PATCH 05/12] h264: Replace mpegvideo-specific MAX_PICTURE_COUNT by private define

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 10:27 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 19:24:35 +0100, Vittorio Giovara wrote: --- libavcodec/h264.c| 22 +++--- libavcodec/h264.h| 2 ++ libavcodec/h264_ps.c | 2 +- 3 files changed, 14 insertions(+), 12 deletions

Re: [libav-devel] [PATCH 05/12] h264: Replace mpegvideo-specific MAX_PICTURE_COUNT by private define

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 11:49 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 23:33:39 +0100, Vittorio Giovara wrote: On Tue, Mar 4, 2014 at 10:27 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 19:24:35 +0100, Vittorio Giovara wrote: --- libavcodec/h264.c| 22

Re: [libav-devel] [PATCH 07/12] h264: Remove MotionEstContext and move the relevant fields in H264Context

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 10:38 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 19:24:37 +0100, Vittorio Giovara wrote: --- libavcodec/h264.c | 17 - libavcodec/h264.h | 8 +++- libavcodec/h264_mb_template.c | 12 ++-- 3 files

Re: [libav-devel] [PATCH 08/12] mpegvideo: move PICT_* macros into picttype.h

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 10:21 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 19:24:38 +0100, Vittorio Giovara wrote: Also adjust the headers as needed. --- libavcodec/dxva2_h264.c | 1 + libavcodec/dxva2_mpeg2.c | 1 + libavcodec/dxva2_vc1.c| 1

Re: [libav-devel] [PATCH 09/12] mpegvideo: move MB_TYPE_* and IS_* macros to mbtype.h

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 10:25 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 19:24:39 +0100, Vittorio Giovara wrote: Also adjust the headers as needed. --- libavcodec/error_resilience.c | 1 + libavcodec/h261dec.c | 1 + libavcodec/h261enc.c | 1

Re: [libav-devel] [PATCH 11/12] mpegvideo: remove h264-only fields

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 10:42 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 19:24:41 +0100, Vittorio Giovara wrote: --- libavcodec/mpegvideo.h | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h

Re: [libav-devel] [PATCH 00/12] H264 FREEDOM v2 call for help

2014-03-04 Thread Vittorio Giovara
On Tue, Mar 4, 2014 at 9:09 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-04 19:24:30 +0100, Vittorio Giovara wrote: I am working on my branch together with Janne and Luca and we found something very shady going on in h264_refs.c and especially in COPY_PICTURE macro

Re: [libav-devel] [PATCH] libx265: More API fixes

2014-03-07 Thread Vittorio Giovara
On Fri, Mar 7, 2014 at 1:39 AM, Reinhard Tartler siret...@gmail.com wrote: On Thu, Mar 6, 2014 at 7:15 PM, Derek Buitenhuis derek.buitenh...@gmail.com wrote: On 3/7/2014 12:04 AM, Reinhard Tartler wrote: As a distribution maintainer, I would be very upset if a Libav point release broke

Re: [libav-devel] [PATCH v3 0/9] lavf/http: import HTTP implementation from ffmpeg

2014-03-07 Thread Vittorio Giovara
On Thu, Mar 6, 2014 at 6:39 PM, Alessandro Ghedini alessan...@ghedini.me wrote: So yeah, this should hopefully be the last version. Many thanks for this patchset. If you don't mind can you add one line to the Changelog file summarizing briefly the added features? Also please instead of

[libav-devel] [PATCH 01/12] mpegvideo: directly use frames in ff_draw_horiz_band()

2014-03-07 Thread Vittorio Giovara
--- libavcodec/mpegvideo.c | 17 + libavcodec/mpegvideo.h | 2 +- libavcodec/svq3.c | 3 +-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 73778f5..59c64b8 100644 --- a/libavcodec/mpegvideo.c +++

[libav-devel] [PATCH 08/12] mpegvideo: move PICT_* macros into picttype.h

2014-03-07 Thread Vittorio Giovara
Also adjust the headers as needed. --- libavcodec/dxva2_h264.c | 1 + libavcodec/dxva2_mpeg2.c | 1 + libavcodec/dxva2_vc1.c| 1 + libavcodec/h264.c | 1 + libavcodec/h264.h | 1 + libavcodec/h264_cabac.c | 1 + libavcodec/h264_direct.c

[libav-devel] [PATCH 12/12] h264 does not depend on mpegvideo any more

2014-03-07 Thread Vittorio Giovara
--- libavcodec/h264.c| 1 - libavcodec/h264.h| 3 ++- libavcodec/h264_cavlc.c | 1 - libavcodec/h264_direct.c | 1 - libavcodec/h264_loopfilter.c | 1 - libavcodec/h264data.h| 1 - libavcodec/svq3.c| 1 - 7 files changed, 2 insertions(+), 7

[libav-devel] [PATCH 10/12] mpegvideo: move ff_draw_horiz_band() in utils.c

2014-03-07 Thread Vittorio Giovara
Drop the mpegvideo dependency for svq3 in configure. --- configure | 2 +- libavcodec/internal.h | 7 +++ libavcodec/mpegvideo.c | 50 --- libavcodec/mpegvideo.h | 3 --- libavcodec/utils.c | 53

[libav-devel] [PATCH 05/12] h264: Replace mpegvideo-specific MAX_PICTURE_COUNT by private define

2014-03-07 Thread Vittorio Giovara
--- libavcodec/h264.c| 22 +++--- libavcodec/h264.h| 2 ++ libavcodec/h264_ps.c | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 9430aab..90b5b73 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@

[libav-devel] [PATCH 04/12] h264: move relevant fields from Picture to H264Picture

2014-03-07 Thread Vittorio Giovara
--- libavcodec/dxva2_h264.c | 10 libavcodec/h264.c| 67 +++- libavcodec/h264.h| 55 --- libavcodec/h264_direct.c | 8 +++--- libavcodec/h264_refs.c | 52

[libav-devel] [PATCH 03/12] er: move relevant fields from Picture to ERPicture

2014-03-07 Thread Vittorio Giovara
This is done to disentangle ER from mpegvideo. In order to use a classic Picture, callers can use copy_to_erpicture or use a custom function to set the fields. Please note that buffers need to be allocated before calling ff_er_frame_end(). --- libavcodec/error_resilience.c | 211

[libav-devel] [PATCH 07/12] h264: Remove MotionEstContext and move the relevant fields in H264Context

2014-03-07 Thread Vittorio Giovara
Unused buffers scratchpad and temp have been dropped too. --- libavcodec/h264.c | 13 +++-- libavcodec/h264.h | 6 +- libavcodec/h264_mb_template.c | 12 ++-- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/libavcodec/h264.c

[libav-devel] [PATCH 09/12] mpegvideo: move MB-related macros and defines to mbtype.h

2014-03-07 Thread Vittorio Giovara
Also adjust the headers as needed and use shifted values. --- libavcodec/error_resilience.c | 1 + libavcodec/h261dec.c | 1 + libavcodec/h261enc.c | 1 + libavcodec/h263.c | 1 + libavcodec/h264.c | 1 + libavcodec/h264.h | 1 +

[libav-devel] [PATCH 11/12] mpegvideo: remove h264-only fields

2014-03-07 Thread Vittorio Giovara
--- libavcodec/mpegvideo.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 27fe6e8..38e8070 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -124,16 +124,6 @@ typedef struct Picture{ */ void

[libav-devel] [PATCH 06/12] h264: Replace mpegvideo-specific MAX_THREADS by private define

2014-03-07 Thread Vittorio Giovara
--- libavcodec/h264.c | 8 libavcodec/h264.h | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 90b5b73..d676fb9 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1195,7 +1195,7 @@ static void

[libav-devel] [PATCH 00/12] H264 FREEDOM v3

2014-03-07 Thread Vittorio Giovara
think only 4/12 is waiting for a full review. Cheers, Vittorio Vittorio Giovara (12): mpegvideo: directly use frames in ff_draw_horiz_band() h264: directly use frames in ff_h264_draw_horiz_band() er: move relevant fields from Picture to ERPicture h264: move relevant fields from

[libav-devel] [PATCH 02/12] h264: directly use frames in ff_h264_draw_horiz_band()

2014-03-07 Thread Vittorio Giovara
--- libavcodec/h264.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index c76abf7..1ce772f 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -212,8 +212,8 @@ static void h264_er_decode_mb(void *opaque, int ref, int

Re: [libav-devel] [PATCH 01/12] mpegvideo: directly use frames in ff_draw_horiz_band()

2014-03-07 Thread Vittorio Giovara
On Fri, Mar 7, 2014 at 12:08 PM, Janne Grunau janne-li...@jannau.net wrote: On 2014-03-07 11:56:22 +0100, Vittorio Giovara wrote: --- libavcodec/mpegvideo.c | 17 + libavcodec/mpegvideo.h | 2 +- libavcodec/svq3.c | 3 +-- 3 files changed, 11 insertions(+), 11

[libav-devel] [PATCH] avformat/rtpdec: Enable GSM RTP depacketization

2014-03-07 Thread Vittorio Giovara
From: Andrey Utkin andrey.krieger.ut...@gmail.com --- Maybe worth a changelog entry? Vittorio libavformat/rtpdec.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 3984489..0b8161a 100644 --- a/libavformat/rtpdec.c +++

[libav-devel] [PATCH] hevc: make *ps_id unsigned

2014-03-07 Thread Vittorio Giovara
From: Michael Niedermayer michae...@gmx.at Fixes integer overflow and out of array accesses. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- libavcodec/hevc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index

[libav-devel] [PATCH 1/5] hevc: make *ps_id unsigned

2014-03-07 Thread Vittorio Giovara
From: Michael Niedermayer michae...@gmx.at Fixes integer overflow and out of array accesses. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- Also this is consistent with vps_id and sps_id from h264. Vittorio libavcodec/hevc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[libav-devel] [PATCH 3/5] hevc: Use get_bits_long() in decode_vui()

2014-03-07 Thread Vittorio Giovara
From: Michael Niedermayer michae...@gmx.at Fix assertion failure. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- libavcodec/hevc_ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index c3aabe7..c4c7ee2 100644 ---

[libav-devel] [PATCH 5/5] hevc: use av_mallocz() for allocating tab_ipm

2014-03-07 Thread Vittorio Giovara
From: Michael Niedermayer michae...@gmx.at Fixes use of uninitialized memory and out of stack array read. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- libavcodec/hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index

[libav-devel] [PATCH 2/5] hevc: Don't turn 32bit timebases into negative numbers

2014-03-07 Thread Vittorio Giovara
From: Michael Niedermayer michae...@gmx.at Fixes assertion failure Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- libavcodec/hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 65ad6d9..fc62024 100644 ---

[libav-devel] [PATCH 4/5] hevcpred_template: also initialize top[-1] for constrained intra prediction

2014-03-07 Thread Vittorio Giovara
From: Michael Niedermayer michae...@gmx.at Fixes out of array read. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- libavcodec/hevcpred_template.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/hevcpred_template.c b/libavcodec/hevcpred_template.c index 27f4b9e..8890dc4

[libav-devel] [PATCH 2/4] vp8: refactor ff_vp8_decode_frame in vp8_find_free_buffer

2014-03-07 Thread Vittorio Giovara
From: Peter Ross pr...@xvid.org This will be used in the VP7 decoder. --- libavcodec/vp8.c | 40 +--- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index d3dc82c..bc1abd2 100644 --- a/libavcodec/vp8.c +++

[libav-devel] [PATCH 1/4] vp8: add VP7 idct and loop filter

2014-03-07 Thread Vittorio Giovara
From: Peter Ross pr...@xvid.org Also deconflict DC_128_PRED and HOR_VP8_PRED. --- libavcodec/arm/vp8dsp.h| 4 +- libavcodec/arm/vp8dsp_init_arm.c | 6 +- libavcodec/arm/vp8dsp_init_armv6.c | 44 +++--- libavcodec/arm/vp8dsp_init_neon.c | 42 +++--- libavcodec/h264pred.h

[libav-devel] [PATCH 4/4] riff: add On2 VP7 FOURCCs

2014-03-07 Thread Vittorio Giovara
From: Peter Ross pr...@xvid.org --- libavformat/riff.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 545ecaf..853f627 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -231,6 +231,8 @@ const AVCodecTag ff_codec_bmp_tags[] = { {

[libav-devel] [PATCH 02/12] isom: Support Sony XAVC in mov

2014-03-08 Thread Vittorio Giovara
From: Carl Eugen Hoyos ceho...@ag.or.at Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- libavformat/isom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index f70f982..c5b8b60 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c

[libav-devel] [PATCH 08/12] libspeex: support ZygoAudio (quality 10 mode)

2014-03-08 Thread Vittorio Giovara
From: Piotr Bandurski ami_st...@o2.pl --- libavformat/isom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index d33d93a..b0923c4 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -285,6 +285,7 @@ const AVCodecTag ff_codec_movaudio_tags[] =

[libav-devel] [PATCH 10/12] rawvideo: Support decoding YVYU FOURCC

2014-03-08 Thread Vittorio Giovara
From: Carl Eugen Hoyos ceho...@ag.or.at Based on work by ami_stuff. Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- libavcodec/raw.c| 1 + libavcodec/rawdec.c | 10 ++ libavformat/riff.c | 1 + 3 files changed, 12 insertions(+) diff --git a/libavcodec/raw.c b

[libav-devel] [PATCH 11/12] riff: IPJ2 decodes with JPEG2000 decoder

2014-03-08 Thread Vittorio Giovara
From: Compn te...@twmi.rr.com Samples can be made from mencoder and jp2avi.dll codec. --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 38f4d4e..514091b 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -283,6

[libav-devel] [PATCH 09/12] movdec: handle 0x7fff langcode as macintosh per the specs

2014-03-08 Thread Vittorio Giovara
From: Baptiste Coudurier baptiste.coudur...@gmail.com The correct point that seperates ISO and MAC language codes is 0x400 according to the current QT spec. Old QT specs did not list where this seperation is but apparently only defined the meaning of the first 137. --- libavformat/isom.c | 2 +-

[libav-devel] [PATCH 05/12] isom: Support MPEG-2 video mov files from FPC5

2014-03-08 Thread Vittorio Giovara
From: Carl Eugen Hoyos ceho...@ag.or.at --- libavformat/isom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index 3b786d7..3b54509 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -205,6 +205,7 @@ const AVCodecTag ff_codec_movvideo_tags[]

[libav-devel] [PATCH 12/12] riff: add VP9 fourcc

2014-03-08 Thread Vittorio Giovara
From: James Zern jz...@google.com --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 514091b..afe2b9c 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -233,6 +233,7 @@ const AVCodecTag ff_codec_bmp_tags[] = { {

[libav-devel] [PATCH 03/12] isom: add Radius DV YUV FourCCs

2014-03-08 Thread Vittorio Giovara
From: Piotr Bandurski ami_st...@o2.pl --- libavformat/isom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index c5b8b60..66577e3 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -82,6 +82,8 @@ const AVCodecTag ff_codec_movvideo_tags[] =

[libav-devel] [PATCH 01/12] isom: add xd51 hdcam

2014-03-08 Thread Vittorio Giovara
From: Compn te...@twmi.rr.com Someone needs to binary search FCP for new isom... --- libavformat/isom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index 9b32b7d..f70f982 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -173,6 +173,7 @@

[libav-devel] [PATCH 07/12] isom: lpcm in mov default to big endian

2014-03-08 Thread Vittorio Giovara
From: Mark Himsley m...@mdsh.com It is my understanding that Unless otherwise stated, all data in a QuickTime movie is stored in big-endian byte ordering [1] in MOV files. I have a couple of thousand files, which technically are invalid because their sound sample description element 4CC is

[libav-devel] [PATCH 04/12] isom: add NO16 FourCC

2014-03-08 Thread Vittorio Giovara
From: Piotr Bandurski ami_st...@o2.pl --- libavformat/isom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index 66577e3..3b786d7 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -81,6 +81,7 @@ const AVCodecTag ff_codec_movvideo_tags[] = {

[libav-devel] [PATCH 06/12] isom: add MNG FourCC

2014-03-08 Thread Vittorio Giovara
From: Piotr Bandurski ami_st...@o2.pl --- libavformat/isom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index 3b54509..22f413f 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -213,6 +213,7 @@ const AVCodecTag ff_codec_movvideo_tags[] =

[libav-devel] [PATCH 00/12] isom/riff updates

2014-03-08 Thread Vittorio Giovara
This is a list of isom/riff codes that perfectly work and apply here. I found the movdec and isom/bigendian commits quite important and I would forward them to stable as well. Vittorio Baptiste Coudurier (1): movdec: handle 0x7fff langcode as macintosh per the specs Carl Eugen Hoyos (3):

[libav-devel] [PATCH] hevc: make timebases and ids unsigned

2014-03-08 Thread Vittorio Giovara
From: Michael Niedermayer michae...@gmx.at Fixes integer overflow and out of array accesses. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- This is the squashed version with a few more fixes. Vittorio libavcodec/hevc.c| 2 +- libavcodec/hevc.h| 4 ++-- libavcodec/hevc_ps.c |

[libav-devel] [PATCH] vp8: add VP7 idct and loop filter

2014-03-09 Thread Vittorio Giovara
From: Peter Ross pr...@xvid.org Deconflict DC_128_PRED/HOR_VP8_PRED and refactor some code. Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- Here is the Diego'd version, with 2/4 squashed for simplicity. Cheers, Vittorio libavcodec/arm/vp8dsp.h| 4 +- libavcodec

[libav-devel] [PATCH] fate: add a vp7 sample

2014-03-09 Thread Vittorio Giovara
--- What's a decoder without a fate entry? I've chosen the smallest sample available and set to decoding 300 frames only. I can reduce/increase the number of frames and/or pick another sample if requested. Cheers, Vittorio tests/fate/vpx.mak | 3 + tests/ref/fate/vp7 | 301

[libav-devel] [PATCH 1/2] lavu: Add packed YVYU422 pixel format

2014-03-09 Thread Vittorio Giovara
--- doc/APIchanges | 3 +++ libavutil/pixdesc.c | 11 +++ libavutil/pixfmt.h | 1 + libavutil/version.h | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index d6134f9..dca3cd3 100644 --- a/doc/APIchanges +++ b/doc/APIchanges

[libav-devel] [PATCH 2/2] rawvideo: Support decoding YVYU FourCC

2014-03-09 Thread Vittorio Giovara
Based on a patch by ami_stuff and Carl Eugen Hoyos. --- libavcodec/raw.c | 1 + libavformat/riff.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavcodec/raw.c b/libavcodec/raw.c index 4ccc6cc..b8ddcde 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -163,6 +163,7 @@ const

Re: [libav-devel] [PATCH 2/6] movenc: write hvcC tag for HEVC.

2014-03-09 Thread Vittorio Giovara
On Mon, Mar 3, 2014 at 4:53 PM, Tim Walker tdskywal...@gmail.com wrote: --- libavformat/Makefile |2 +- libavformat/hevc.c | 1076 ++ libavformat/hevc.h | 50 +++ libavformat/movenc.c | 13 + 4 files changed, 1140 insertions(+),

[libav-devel] [PATCH 2/2] hevc: make vps/sps ids unsigned where necessary

2014-03-09 Thread Vittorio Giovara
Fixes integer overflow and out of array accesses. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- libavcodec/hevc.h| 2 +- libavcodec/hevc_ps.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index accfcb6..1197d08

[libav-devel] [PATCH 1/2] hevc: Don't turn 32bit timebases into negative numbers

2014-03-09 Thread Vittorio Giovara
From: Michael Niedermayer michae...@gmx.at Fixes assertion failure. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind --- Decided to split to better reflect the effect of the change. Vittorio libavcodec/hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [libav-devel] [PATCH 2/2] hevc: make vps/sps ids unsigned where necessary

2014-03-09 Thread Vittorio Giovara
On Sun, Mar 9, 2014 at 5:17 PM, Vittorio Giovara vittorio.giov...@gmail.com wrote: Fixes integer overflow and out of array accesses. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind Pps/sps* ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 1/2] avformat: Provide a standard compliance flag

2014-03-09 Thread Vittorio Giovara
On Thu, Mar 6, 2014 at 5:58 PM, Luca Barbato lu_z...@gentoo.org wrote: Provide f_strict for avconv usage. --- libavformat/avformat.h | 5 + libavformat/options_table.h | 5 + libavformat/version.h | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git

Re: [libav-devel] [PATCH 2/2] nut: Support experimental NUT 4 features

2014-03-09 Thread Vittorio Giovara
On Thu, Mar 6, 2014 at 5:58 PM, Luca Barbato lu_z...@gentoo.org wrote: Add the low overhead pipe mode and the extended broadcast mode. Export the options as 'syncponts' since it impacts only that. --- doc/muxers.texi | 17 + doc/nut.texi | 21

[libav-devel] [PATCH] jpeg2000: fix dereferencing invalid pointers during cleanup

2014-03-09 Thread Vittorio Giovara
Found-by: Laurent Butti laure...@gmail.com --- Found many more places where deference could happen, added at the end. Vittorio libavcodec/jpeg2000.c | 31 +++ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/libavcodec/jpeg2000.c b/libavcodec/jpeg2000.c

[libav-devel] [PATCH 3/3] fate: add exr tests

2014-03-09 Thread Vittorio Giovara
From: Paul B Mahol one...@gmail.com Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- tests/fate/image.mak | 20 tests/ref/fate/exr-slice-pxr24 | 2 ++ tests/ref/fate/exr-slice-raw | 2 ++ tests/ref/fate/exr-slice-rle | 2 ++ tests/ref/fate/exr

[libav-devel] [PATCH 1/3] lavu: add RGBA64 pixel formats

2014-03-09 Thread Vittorio Giovara
From: Jean First jeanfi...@gmail.com Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- doc/APIchanges| 3 +++ libavutil/pixdesc.c | 52 +++ libavutil/pixfmt.h| 11 + libavutil/version.h

Re: [libav-devel] [PATCH 03/12] er: move relevant fields from Picture to ERPicture

2014-03-10 Thread Vittorio Giovara
From: Vittorio Giovara Sent: venerdì, marzo 07, 2014 12:00 PM To: libav-devel@libav.org Subject: [PATCH 03/12] er: move relevant fields from Picture to ERPicture This is done to disentangle ER from mpegvideo. In order to use a classic Picture, callers can use copy_to_erpicture or use a custom

Re: [libav-devel] [PATCH 04/12] h264: move relevant fields from Picture to H264Picture

2014-03-10 Thread Vittorio Giovara
From: Vittorio Giovara Sent: venerdì, marzo 07, 2014 12:00 PM To: libav-devel@libav.org Subject: [PATCH 04/12] h264: move relevant fields from Picture to H264Picture --- libavcodec/dxva2_h264.c | 10 libavcodec/h264.c | 67 +++- libavcodec

[libav-devel] [PATCH 5/5] fate: add tests for SANM and VIMA

2014-03-10 Thread Vittorio Giovara
From: Paul B Mahol one...@gmail.com Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- The raw video test is slightly different, but visually the frame is identical. Vittorio tests/fate/adpcm.mak | 3 +++ tests/fate/video.mak | 3 +++ tests/ref/fate/adpcm-vima | 17

[libav-devel] [PATCH 1/5] lavc: restore copy_block{4, 16} functions

2014-03-10 Thread Vittorio Giovara
They were removed in 9e31729d692f1e721b7ed1a3a0f51b68c064d68f. --- libavcodec/copy_block.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/libavcodec/copy_block.h b/libavcodec/copy_block.h index ec465db..7dc5e91 100644 --- a/libavcodec/copy_block.h +++

[libav-devel] [PATCH 4/5] lavf: LucasArts SMUSH demuxer

2014-03-10 Thread Vittorio Giovara
From: Paul B Mahol one...@gmail.com Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- Changelog| 1 + doc/general.texi | 2 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/smush.c | 241

[libav-devel] [PATCH 3/5] lavc: LucasArts SMUSH VIMA audio decoder

2014-03-10 Thread Vittorio Giovara
From: Paul B Mahol one...@gmail.com Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- Which is an ADPCM decoder, so I had to move it around and place it in the right decoder list. Vittorio doc/general.texi | 2 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1

Re: [libav-devel] [PATCH 2/5] lavc: LucasArts SMUSH SANM video decoder

2014-03-10 Thread Vittorio Giovara
On Mon, Mar 10, 2014 at 6:00 PM, Vittorio Giovara vittorio.giov...@gmail.com wrote: From: Paul B Mahol one...@gmail.com Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- doc/general.texi |2 + libavcodec/Makefile|1 + libavcodec/allcodecs.c |1

Re: [libav-devel] [PATCH 3/5] lavc: LucasArts SMUSH VIMA audio decoder

2014-03-10 Thread Vittorio Giovara
On Mon, Mar 10, 2014 at 6:00 PM, Vittorio Giovara vittorio.giov...@gmail.com wrote: From: Paul B Mahol one...@gmail.com Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- Which is an ADPCM decoder, so I had to move it around and place it in the right decoder list. Vittorio

[libav-devel] [PATCH] lavu: add RGBA64 pixel formats

2014-03-10 Thread Vittorio Giovara
From: Jean First jeanfi...@gmail.com Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- Reordered everything as requested. Vittorio doc/APIchanges| 3 +++ libavutil/pixdesc.c | 52 +++ libavutil/pixfmt.h

[libav-devel] [PATCH] lavc: add OpenEXR decoder

2014-03-10 Thread Vittorio Giovara
From: Jimmy Christensen ji...@ghost.dk Additional fixes and enhancements by Gonzalo Garramuno, Nicolas George, Paul B Mahol and Michael Niedermayer. Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- Fixed all comments, I just left unsigned int because I find it more readable. Thanks

[libav-devel] [PATCH] lavc: add OpenEXR decoder

2014-03-10 Thread Vittorio Giovara
From: Jimmy Christensen ji...@ghost.dk Additional fixes and enhancements by Gonzalo Garramuno, Nicolas George, Paul B Mahol and Michael Niedermayer. Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- Now with the right logic in check_header_variable(). Vittorio Changelog

<    1   2   3   4   5   6   7   8   9   10   >