Re: [FFmpeg-devel] [PATCH] avformat/mov: make STTS duration unsigned int

2021-11-22 Thread Gyan Doshi
On 2021-11-19 09:32 pm, Gyan Doshi wrote: Plan to push Monday afternoon. Pushed as 203b0e3561dea1ec459be226d805abe73e7535e5 Regards, Gyan On 2021-11-16 07:45 pm, Gyan Doshi wrote: As per 8.6.1.2.2 of ISO/IEC 14496-12:2015(E), STTS sample offsets are to be always stored as uint32_t. So f

Re: [FFmpeg-devel] [PATCH] avformat/mov: make STTS duration unsigned int

2021-11-19 Thread Gyan Doshi
Plan to push Monday afternoon. On 2021-11-16 07:45 pm, Gyan Doshi wrote: As per 8.6.1.2.2 of ISO/IEC 14496-12:2015(E), STTS sample offsets are to be always stored as uint32_t. So far, they have been signed ints which led to desync in files with very large offsets. The MOVStts struct was used to

[FFmpeg-devel] [PATCH] avformat/mov: make STTS duration unsigned int

2021-11-16 Thread Gyan Doshi
As per 8.6.1.2.2 of ISO/IEC 14496-12:2015(E), STTS sample offsets are to be always stored as uint32_t. So far, they have been signed ints which led to desync in files with very large offsets. The MOVStts struct was used to store CTTS offsets as well. These can be negative in version 1. So a new st