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:
arpi 2003-02-04 15:45:45 +00:00
parent 4047921a81
commit ad54f0f5af
1 changed files with 2 additions and 0 deletions

View File

@ -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 */