Commit 8f3eac4d authored by bcoudurier's avatar bcoudurier

skip empty data packets in flv, fix input.flv

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