[FFmpeg-cvslog] r15042 - trunk/libavformat/flvdec.c
bcoudurier
subversion
Sat Aug 30 00:10:34 CEST 2008
Author: bcoudurier
Date: Sat Aug 30 00:10:34 2008
New Revision: 15042
Log:
skip empty flv data packets, fix issue #602
Modified:
trunk/libavformat/flvdec.c
Modified: trunk/libavformat/flvdec.c
==============================================================================
--- trunk/libavformat/flvdec.c (original)
+++ trunk/libavformat/flvdec.c Sat Aug 30 00:10:34 2008
@@ -339,6 +339,10 @@ static int flv_read_packet(AVFormatConte
continue;
}
+ /* skip empty data packets */
+ if (!size)
+ continue;
+
/* now find stream */
for(i=0;i<s->nb_streams;i++) {
st = s->streams[i];
More information about the ffmpeg-cvslog
mailing list