diff options
author | Gabor Nagy <maillist@sign-el-soft.hu> | 2014-12-10 02:59:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-10 03:18:30 +0100 |
commit | ae8168074eb1c8230d9c6482102ca08a70a9c4b0 (patch) | |
tree | d41b293f532556858672d90238229b0502291884 /libavformat/avidec.c | |
parent | 1397cb002d9d17f1f0abcfa98823678c172d32af (diff) | |
download | ffmpeg-ae8168074eb1c8230d9c6482102ca08a70a9c4b0.tar.gz |
avformat/avidec: Increase dshow_block_align use threshold by 1
Fixes 00.avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 78a6deae7d..e8c273062a 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -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; |