Remove bogus stream_eof() test - av_read_frame() has its own buffer and can

still return usable data after the underlying stream_t has EOF'ed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18847 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pacman 2006-06-28 19:27:04 +00:00
parent b483d64bc0
commit 5576e93b0f
1 changed files with 0 additions and 5 deletions

View File

@ -339,11 +339,6 @@ static int demux_lavf_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){
demux->filepos=stream_tell(demux->stream);
if(stream_eof(demux->stream)){
// demuxre->stream->eof=1;
return 0;
}
if(av_read_frame(priv->avfc, &pkt) < 0)
return 0;