1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15820 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2005-06-26 15:32:09 +00:00
parent cd3bc31f2c
commit 47eb55b654

View File

@ -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;