Re: [libav-devel] [PATCH 3/3] mov: Implement support for multiple sample description tables

2016-06-06 Thread Vittorio Giovara
On Mon, Jun 6, 2016 at 2:57 PM, Martin Storsjö wrote: > On Wed, 1 Jun 2016, Vittorio Giovara wrote: > >> Store data from each stsd in a separate extradata buffer, keep track of >> the stsc index for read and seek operations, switch buffers when the >> index differs. Decoder is notified with an AV_

Re: [libav-devel] [PATCH] mov: Validate stsc indexes are within stsd bounds

2016-06-06 Thread Vittorio Giovara
On Mon, Jun 6, 2016 at 1:26 PM, Luca Barbato wrote: > On 06/06/16 18:47, Vittorio Giovara wrote: >> --- >> libavformat/mov.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/libavformat/mov.c b/libavformat/mov.c >> index fceef5b..385bd1d 100644 >> --- a/libavformat/mov.c >> +++ b/lib

Re: [libav-devel] [PATCH 2/2] fate: Move texture-based decoder tests to a separate file

2016-06-06 Thread Luca Barbato
On 03/06/16 20:05, Vittorio Giovara wrote: > --- > tests/Makefile | 1 + > tests/fate/video.mak | 43 --- > 2 files changed, 1 insertion(+), 43 deletions(-) > Looks like you forgot to add the new file. __

Re: [libav-devel] [PATCH 2/2] fate: Move texture-based decoder tests to a separate file

2016-06-06 Thread Martin Storsjö
On Mon, 6 Jun 2016, Vittorio Giovara wrote: On Sat, Jun 4, 2016 at 4:55 AM, Diego Biurrun wrote: On Fri, Jun 03, 2016 at 02:05:27PM -0400, Vittorio Giovara wrote: --- tests/Makefile | 1 + tests/fate/video.mak | 43 --- 2 files changed, 1 insert

Re: [libav-devel] [PATCH 3/3] mov: Implement support for multiple sample description tables

2016-06-06 Thread Martin Storsjö
On Wed, 1 Jun 2016, Vittorio Giovara wrote: Store data from each stsd in a separate extradata buffer, keep track of the stsc index for read and seek operations, switch buffers when the index differs. Decoder is notified with an AV_PKT_DATA_NEW_EXTRADATA packet side data. Since H264 supports thi

Re: [libav-devel] [PATCH 3/3] mov: Implement support for multiple sample description tables

2016-06-06 Thread Luca Barbato
On 06/06/16 18:38, Vittorio Giovara wrote: > is rest of the set fine too? Sure =) ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] mov: Validate stsc indexes are within stsd bounds

2016-06-06 Thread Luca Barbato
On 06/06/16 18:47, Vittorio Giovara wrote: > --- > libavformat/mov.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index fceef5b..385bd1d 100644 > --- a/libavformat/mov.c > +++ b/libavformat/mov.c > @@ -1952,6 +1952,8 @@ static int mov_read_sts

Re: [libav-devel] [PATCH] mjpegdec: Check return values of functions that may fail

2016-06-06 Thread Luca Barbato
On 06/06/16 13:56, Diego Biurrun wrote: > --- > libavcodec/mjpegdec.c | 70 > ++- > 1 file changed, 47 insertions(+), 23 deletions(-) > Seems fine as long fate is happy. ___ libav-devel mailing list lib

[libav-devel] [PATCH] mov: Validate stsc indexes are within stsd bounds

2016-06-06 Thread Vittorio Giovara
--- libavformat/mov.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index fceef5b..385bd1d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1952,6 +1952,8 @@ static int mov_read_stsc(MOVContext *c, AVIOContext *pb, MOVAtom atom) sc-

Re: [libav-devel] [PATCH 3/3] mov: Implement support for multiple sample description tables

2016-06-06 Thread Vittorio Giovara
On Fri, Jun 3, 2016 at 5:24 AM, Luca Barbato wrote: > On 02/06/16 02:00, Vittorio Giovara wrote: >> Store data from each stsd in a separate extradata buffer, keep track of >> the stsc index for read and seek operations, switch buffers when the >> index differs. Decoder is notified with an AV_PKT_D

[libav-devel] [PATCH] Add MagicYUV decoder

2016-06-06 Thread Vittorio Giovara
From: Paul B Mahol Signed-off-by: Paul B Mahol Signed-off-by: Vittorio Giovara --- Applied Diego's comments. Vittorio Changelog | 1 + configure | 1 + doc/general.texi| 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec

Re: [libav-devel] [PATCH 2/2] fate: Move texture-based decoder tests to a separate file

2016-06-06 Thread Vittorio Giovara
On Sat, Jun 4, 2016 at 4:55 AM, Diego Biurrun wrote: > On Fri, Jun 03, 2016 at 02:05:27PM -0400, Vittorio Giovara wrote: >> --- >> tests/Makefile | 1 + >> tests/fate/video.mak | 43 --- >> 2 files changed, 1 insertion(+), 43 deletions(-) > > No, thi

Re: [libav-devel] [PATCH] Return the actual size of the data in AVPacket when decoding VP9 superframe

2016-06-06 Thread Vittorio Giovara
On Sat, Jun 4, 2016 at 7:28 AM, Luca Barbato wrote: > On 04/06/16 13:22, y...@dinauz.org wrote: >> From: typx >> >> According to avcodec.h, avcodec_decode_video2 should return the number of >> bytes used if a frame was decoded. >> The current implementation returns size - used size of all the su

[libav-devel] [PATCH] mjpegdec: Check return values of functions that may fail

2016-06-06 Thread Diego Biurrun
--- libavcodec/mjpegdec.c | 70 ++- 1 file changed, 47 insertions(+), 23 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 1f36b39..b99f3f0 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -68,25 +68,42 @