Commit c1ee4390 authored by kostya's avatar kostya

Empty audio chunks in VMD are silent, not skipped

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16710 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 90c4b13f
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment