Remove broker reset/seek and fix ;;

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10036 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtognimp 2003-04-30 20:17:35 +00:00
parent 6bbe716958
commit c8d20f39ee
1 changed files with 1 additions and 4 deletions

View File

@ -44,9 +44,6 @@ int ra_check_file(demuxer_t* demuxer)
{
unsigned int chunk_id;
stream_reset(demuxer->stream);
stream_seek(demuxer->stream, 0);
chunk_id = stream_read_dword_le(demuxer->stream);
if (chunk_id == FOURCC_DOTRA)
return 1;
@ -92,7 +89,7 @@ int demux_ra_fill_buffer(demuxer_t *demuxer)
ptr += 2;
}
}
dp->pts = demuxer->filepos / ra_priv->data_size;;
dp->pts = demuxer->filepos / ra_priv->data_size;
dp->pos = demuxer->filepos;
dp->flags = 0;
ds_add_packet(ds, dp);