mirror of https://github.com/mpv-player/mpv
disable num_of_packets check, it's unreliable
(multiple bugreports on -users) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9274 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4047921a81
commit
ad54f0f5af
|
@ -363,12 +363,14 @@ int demux_real_fill_buffer(demuxer_t *demuxer)
|
|||
|
||||
while(1){
|
||||
|
||||
#if 0
|
||||
/* also don't check if no num_of_packets was defined in header */
|
||||
if ((priv->current_packet > priv->num_of_packets) &&
|
||||
(priv->num_of_packets != -10)){
|
||||
printf("num_of_packets reached!\n");
|
||||
return 0; /* EOF */
|
||||
}
|
||||
#endif
|
||||
|
||||
demuxer->filepos = stream_tell(demuxer->stream);
|
||||
version = stream_read_word(demuxer->stream); /* version */
|
||||
|
|
Loading…
Reference in New Issue