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

skip empty data packets in flv, fix input.flv

Originally committed as revision 18306 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 60c703ac
......@@ -439,6 +439,10 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
}
}
/* skip empty data packets */
if (!size)
return AVERROR(EAGAIN);
ret= av_get_packet(s->pb, pkt, size);
if (ret <= 0) {
return AVERROR(EIO);
......
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