Re: [FFmpeg-devel] [PATCH] avformat/wavdec: More accurate duration

2021-07-28 Thread Andreas Rheinhardt
Danivy: > Using data size and nAvgBytesPerSec to calculate the duration will be more > accurate > --- > libavformat/wavdec.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c > index d2fb81ca7f..50b1f81e62 100644 > --- a/l

[FFmpeg-devel] [PATCH] avformat/wavdec: More accurate duration

2021-07-28 Thread Danivy
Using data size and nAvgBytesPerSec to calculate the duration will be more accurate --- libavformat/wavdec.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index d2fb81ca7f..50b1f81e62 100644 --- a/libavformat/wavdec.c +++ b/