Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-30 Thread Gyan Doshi
On 2021-12-30 11:25 pm, Michael Niedermayer wrote: On Thu, Dec 30, 2021 at 10:39:05PM +0530, Gyan Doshi wrote: On 2021-12-30 07:46 pm, Michael Niedermayer wrote: On Thu, Dec 30, 2021 at 10:07:21AM +0530, Gyan Doshi wrote: On 2021-12-29 11:38 pm, Michael Niedermayer wrote: On Wed, Dec 29,

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-30 Thread Michael Niedermayer
On Thu, Dec 30, 2021 at 10:39:05PM +0530, Gyan Doshi wrote: > > > On 2021-12-30 07:46 pm, Michael Niedermayer wrote: > > On Thu, Dec 30, 2021 at 10:07:21AM +0530, Gyan Doshi wrote: > > > > > > On 2021-12-29 11:38 pm, Michael Niedermayer wrote: > > > > On Wed, Dec 29, 2021 at 09:39:34PM +0530, Gy

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-30 Thread Gyan Doshi
On 2021-12-30 07:46 pm, Michael Niedermayer wrote: On Thu, Dec 30, 2021 at 10:07:21AM +0530, Gyan Doshi wrote: On 2021-12-29 11:38 pm, Michael Niedermayer wrote: On Wed, Dec 29, 2021 at 09:39:34PM +0530, Gyan Doshi wrote: On 2021-12-29 05:58 pm, Michael Niedermayer wrote: On Tue, Dec 28,

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-30 Thread Michael Niedermayer
On Thu, Dec 30, 2021 at 10:07:21AM +0530, Gyan Doshi wrote: > > > On 2021-12-29 11:38 pm, Michael Niedermayer wrote: > > On Wed, Dec 29, 2021 at 09:39:34PM +0530, Gyan Doshi wrote: > > > > > > On 2021-12-29 05:58 pm, Michael Niedermayer wrote: > > > > On Tue, Dec 28, 2021 at 10:26:42PM +0530, Gy

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-29 Thread Gyan Doshi
On 2021-12-29 11:38 pm, Michael Niedermayer wrote: On Wed, Dec 29, 2021 at 09:39:34PM +0530, Gyan Doshi wrote: On 2021-12-29 05:58 pm, Michael Niedermayer wrote: On Tue, Dec 28, 2021 at 10:26:42PM +0530, Gyan Doshi wrote: On 2021-12-28 05:18 am, Michael Niedermayer wrote: On Tue, Dec 28,

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-29 Thread Michael Niedermayer
On Wed, Dec 29, 2021 at 09:39:34PM +0530, Gyan Doshi wrote: > > > On 2021-12-29 05:58 pm, Michael Niedermayer wrote: > > On Tue, Dec 28, 2021 at 10:26:42PM +0530, Gyan Doshi wrote: > > > > > > On 2021-12-28 05:18 am, Michael Niedermayer wrote: > > > > On Tue, Dec 28, 2021 at 01:33:54AM +0530, Gy

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-29 Thread Gyan Doshi
On 2021-12-29 05:58 pm, Michael Niedermayer wrote: On Tue, Dec 28, 2021 at 10:26:42PM +0530, Gyan Doshi wrote: On 2021-12-28 05:18 am, Michael Niedermayer wrote: On Tue, Dec 28, 2021 at 01:33:54AM +0530, Gyan Doshi wrote: On 2021-12-28 12:38 am, Michael Niedermayer wrote: On Mon, Dec 27,

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-29 Thread Michael Niedermayer
On Tue, Dec 28, 2021 at 10:26:42PM +0530, Gyan Doshi wrote: > > > On 2021-12-28 05:18 am, Michael Niedermayer wrote: > > On Tue, Dec 28, 2021 at 01:33:54AM +0530, Gyan Doshi wrote: > > > > > > On 2021-12-28 12:38 am, Michael Niedermayer wrote: > > > > On Mon, Dec 27, 2021 at 11:27:10AM +0530, Gy

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-28 Thread Gyan Doshi
On 2021-12-28 05:18 am, Michael Niedermayer wrote: On Tue, Dec 28, 2021 at 01:33:54AM +0530, Gyan Doshi wrote: On 2021-12-28 12:38 am, Michael Niedermayer wrote: On Mon, Dec 27, 2021 at 11:27:10AM +0530, Gyan Doshi wrote: As per ISO 14496-12, sample duration of 0 is invalid except for the l

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-27 Thread Michael Niedermayer
On Tue, Dec 28, 2021 at 01:33:54AM +0530, Gyan Doshi wrote: > > > On 2021-12-28 12:38 am, Michael Niedermayer wrote: > > On Mon, Dec 27, 2021 at 11:27:10AM +0530, Gyan Doshi wrote: > > > As per ISO 14496-12, sample duration of 0 is invalid except for > > > the last entry. > > > > > > In addition

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-27 Thread Gyan Doshi
On 2021-12-28 12:38 am, Michael Niedermayer wrote: On Mon, Dec 27, 2021 at 11:27:10AM +0530, Gyan Doshi wrote: As per ISO 14496-12, sample duration of 0 is invalid except for the last entry. In addition, also catch 0 value for sample count. --- libavformat/mov.c | 12 1 file

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-27 Thread Michael Niedermayer
On Mon, Dec 27, 2021 at 11:27:10AM +0530, Gyan Doshi wrote: > As per ISO 14496-12, sample duration of 0 is invalid except for > the last entry. > > In addition, also catch 0 value for sample count. > --- > libavformat/mov.c | 12 > 1 file changed, 12 insertions(+) > > diff --git a/l

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-26 Thread zhilizhao(赵志立)
> On Dec 27, 2021, at 2:38 PM, zhilizhao(赵志立) wrote: > >> On Dec 27, 2021, at 1:57 PM, Gyan Doshi wrote: >> >> As per ISO 14496-12, sample duration of 0 is invalid except for >> the last entry. >> >> In addition, also catch 0 value for sample count. >> --- >> libavformat/mov.c | 12 +

Re: [FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-26 Thread zhilizhao(赵志立)
> On Dec 27, 2021, at 1:57 PM, Gyan Doshi wrote: > > As per ISO 14496-12, sample duration of 0 is invalid except for > the last entry. > > In addition, also catch 0 value for sample count. > --- > libavformat/mov.c | 12 > 1 file changed, 12 insertions(+) > > diff --git a/libavfo

[FFmpeg-devel] [PATCH] avformat/mov: correct 0 valued entries in stts

2021-12-26 Thread Gyan Doshi
As per ISO 14496-12, sample duration of 0 is invalid except for the last entry. In addition, also catch 0 value for sample count. --- libavformat/mov.c | 12 1 file changed, 12 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 2aed6e80ef..fb7406cdd6 100644 --- a