ffmpeg: don't rewind stream in url_close()

Rewinding the stream here is not useful, but may consume valuable
resources (and time).
This commit is contained in:
Max Kellermann 2008-11-02 17:10:12 +01:00
parent 2124df1390
commit accc82cd6c

View File

@ -111,10 +111,6 @@ static int64_t mpdurl_seek(URLContext *h, int64_t pos, int whence)
static int mpdurl_close(URLContext *h)
{
FopsHelper *base = (FopsHelper *) h->priv_data;
if (base && base->input->seekable) {
(void) input_stream_seek(base->input, 0, SEEK_SET);
}
h->priv_data = 0;
return 0;
}