git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2b199
)
Empty audio chunks in VMD are silent, not skipped
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 21 Jan 2009 13:26:01 +0000
(13:26 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 21 Jan 2009 13:26:01 +0000
(13:26 +0000)
Originally committed as revision 16710 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/sierravmd.c
patch
|
blob
|
history
diff --git
a/libavformat/sierravmd.c
b/libavformat/sierravmd.c
index
76ded3d
..
1d21738
100644
(file)
--- a/
libavformat/sierravmd.c
+++ b/
libavformat/sierravmd.c
@@
-187,7
+187,7
@@
static int vmd_read_header(AVFormatContext *s,
get_buffer(pb, chunk, BYTES_PER_FRAME_RECORD);
type = chunk[0];
size = AV_RL32(&chunk[2]);
- if(!size)
+ if(!size
&& type != 1
)
continue;
switch(type) {
case 1: /* Audio Chunk */