Commit ae58b54b authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

skip empty flv data packets, fix issue #602

Originally committed as revision 15042 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3d9aecb0
......@@ -339,6 +339,10 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
continue;
}
/* skip empty data packets */
if (!size)
continue;
/* now find stream */
for(i=0;i<s->nb_streams;i++) {
st = s->streams[i];
......
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