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
ad52eb23
Commit
ad52eb23
authored
Nov 08, 2010
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/rewind: fix assertion failure
The assertion added in MPD 0.15.14 was too much, it failed when the MIME type of a stream was NULL.
parent
462bba8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
NEWS
NEWS
+2
-0
rewind_input_plugin.c
src/input/rewind_input_plugin.c
+1
-1
No files found.
NEWS
View file @
ad52eb23
ver 0.15.15 (2010/??/??)
ver 0.15.15 (2010/??/??)
* input:
- rewind: fix assertion failure
ver 0.15.14 (2010/11/06)
ver 0.15.14 (2010/11/06)
...
...
src/input/rewind_input_plugin.c
View file @
ad52eb23
...
@@ -84,7 +84,7 @@ copy_attributes(struct input_stream *dest)
...
@@ -84,7 +84,7 @@ copy_attributes(struct input_stream *dest)
const
struct
input_stream
*
src
=
&
r
->
input
;
const
struct
input_stream
*
src
=
&
r
->
input
;
assert
(
dest
!=
src
);
assert
(
dest
!=
src
);
assert
(
dest
->
mime
!=
src
->
mime
);
assert
(
src
->
mime
==
NULL
||
dest
->
mime
!=
src
->
mime
);
dest
->
ready
=
src
->
ready
;
dest
->
ready
=
src
->
ready
;
dest
->
seekable
=
src
->
seekable
;
dest
->
seekable
=
src
->
seekable
;
...
...
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