diff options
author | Max Kellermann <max@duempel.org> | 2008-11-02 17:10:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-02 17:10:12 +0100 |
commit | accc82cd6c20d732853d3d0d21c235005f36d03b (patch) | |
tree | fa3727bb929cb44d4b12086b73ea9caecd723c23 /src | |
parent | 2124df13909a2413dfc41684323f4cee78283c31 (diff) | |
download | mpd-accc82cd6c20d732853d3d0d21c235005f36d03b.tar.gz mpd-accc82cd6c20d732853d3d0d21c235005f36d03b.tar.xz mpd-accc82cd6c20d732853d3d0d21c235005f36d03b.zip |
ffmpeg: don't rewind stream in url_close()
Rewinding the stream here is not useful, but may consume valuable
resources (and time).
Diffstat (limited to 'src')
-rw-r--r-- | src/decoder/ffmpeg_plugin.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c index 2be97f62a..445d46512 100644 --- a/src/decoder/ffmpeg_plugin.c +++ b/src/decoder/ffmpeg_plugin.c @@ -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; } |