skip empty flv data packets, fix issue #602
Originally committed as revision 15042 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3d9aecb0d7
commit
ae58b54b3f
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user