OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1397cb0
)
avformat/avidec: Increase dshow_block_align use threshold by 1
author
Gabor Nagy
<maillist@sign-el-soft.hu>
Wed, 10 Dec 2014 01:59:25 +0000
(
02:59
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 10 Dec 2014 02:18:30 +0000
(
03:18
+0100)
Fixes 00.avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avidec.c
patch
|
blob
|
history
diff --git
a/libavformat/avidec.c
b/libavformat/avidec.c
index
78a6dea
..
e8c2730
100644
(file)
--- 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;