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
1 changed files with 2 additions and 1 deletions

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;