mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avformat/avidec: Increase dshow_block_align use threshold by 1
Fixes 00.avi Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1397cb002d
commit
ae8168074e
@ -126,7 +126,7 @@ static inline int get_duration(AVIStream *ast, int len)
|
||||
{
|
||||
if (ast->sample_size)
|
||||
return len;
|
||||
else if (ast->dshow_block_align)
|
||||
else if (ast->dshow_block_align > 1)
|
||||
return (len + ast->dshow_block_align - 1) / ast->dshow_block_align;
|
||||
else
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user