aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sierravmd.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-01-21 13:26:01 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-01-21 13:26:01 +0000
commit8d6fc274faade5d442d19302bf4650ed2099fd73 (patch)
treebcc0827e092e0ceddd3698d540bb0d5b4fc9d51e /libavformat/sierravmd.c
parent7d2b199b8db65851b8a99c81bc5c4ed4be1fe3df (diff)
downloadffmpeg-8d6fc274faade5d442d19302bf4650ed2099fd73.tar.gz
Empty audio chunks in VMD are silent, not skipped
Originally committed as revision 16710 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sierravmd.c')
-rw-r--r--libavformat/sierravmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index 76ded3d617..1d21738857 100644
--- 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 */