mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15820 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cd3bc31f2c
commit
47eb55b654
@ -112,7 +112,8 @@ int lavf_check_file(demuxer_t *demuxer){
|
||||
|
||||
av_register_all();
|
||||
|
||||
stream_read(demuxer->stream, buf, PROBE_BUF_SIZE);
|
||||
if(stream_read(demuxer->stream, buf, PROBE_BUF_SIZE)!=PROBE_BUF_SIZE)
|
||||
return 0;
|
||||
avpd.filename= demuxer->stream->url;
|
||||
avpd.buf= buf;
|
||||
avpd.buf_size= PROBE_BUF_SIZE;
|
||||
|
Loading…
Reference in New Issue
Block a user