Commit 3915431d authored by bcoudurier's avatar bcoudurier

skip empty flv data packets, fix issue #602

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15042 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5a709c85
......@@ -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