Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
accc82cd
Commit
accc82cd
authored
Nov 02, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: don't rewind stream in url_close()
Rewinding the stream here is not useful, but may consume valuable resources (and time).
parent
2124df13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
ffmpeg_plugin.c
src/decoder/ffmpeg_plugin.c
+0
-4
No files found.
src/decoder/ffmpeg_plugin.c
View file @
accc82cd
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment