Re: [FFmpeg-devel] [PATCH] mov.c fix the duration for the last audio frame.

2024-05-30 Thread Michael Niedermayer
On Thu, May 30, 2024 at 07:38:36PM +, Wang Cao via ffmpeg-devel wrote: > It is possible that the actual audio data only occupy part of the last audio > frame. This can be signaled by duration in the "trun" atom. We should respect > the metadata of file and set the duration correctly. > --- >

[FFmpeg-devel] [PATCH] mov.c fix the duration for the last audio frame.

2024-05-30 Thread Wang Cao via ffmpeg-devel
It is possible that the actual audio data only occupy part of the last audio frame. This can be signaled by duration in the "trun" atom. We should respect the metadata of file and set the duration correctly. --- libavformat/mov.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-