diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-04 15:45:45 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-04 15:45:45 +0000 |
commit | ad54f0f5aff032a397aabc5e47409227c4a1e6b1 (patch) | |
tree | f0ef7985a7758dc3fedb98a1484d96fe80d11f52 /libmpdemux | |
parent | 4047921a81a64a1d0f9515018ea892d20c65906a (diff) |
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
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_real.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index 0d33001e61..202eb75cb3 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -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 */ |