mirror of https://github.com/mpv-player/mpv
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:
parent
b483d64bc0
commit
5576e93b0f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue