Commit accc82cd authored by Max Kellermann's avatar Max Kellermann

ffmpeg: don't rewind stream in url_close()

Rewinding the stream here is not useful, but may consume valuable resources (and time).
parent 2124df13
...@@ -111,10 +111,6 @@ static int64_t mpdurl_seek(URLContext *h, int64_t pos, int whence) ...@@ -111,10 +111,6 @@ static int64_t mpdurl_seek(URLContext *h, int64_t pos, int whence)
static int mpdurl_close(URLContext *h) 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; h->priv_data = 0;
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment