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:
parent
2124df1390
commit
accc82cd6c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user