[FFmpeg-cvslog] r16710 - trunk/libavformat/sierravmd.c

kostya subversion
Wed Jan 21 14:26:02 CET 2009


Author: kostya
Date: Wed Jan 21 14:26:01 2009
New Revision: 16710

Log:
Empty audio chunks in VMD are silent, not skipped

Modified:
   trunk/libavformat/sierravmd.c

Modified: trunk/libavformat/sierravmd.c
==============================================================================
--- trunk/libavformat/sierravmd.c	Wed Jan 21 14:25:14 2009	(r16709)
+++ trunk/libavformat/sierravmd.c	Wed Jan 21 14:26:01 2009	(r16710)
@@ -187,7 +187,7 @@ static int vmd_read_header(AVFormatConte
             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 */




More information about the ffmpeg-cvslog mailing list