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
7ada7def
Commit
7ada7def
authored
Sep 06, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/audiofile: fix crash after seeking
Log call was added to the wrong branch. Fixes regression by commit
ca1a1149
parent
421c4ae9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
NEWS
NEWS
+2
-0
AudiofileDecoderPlugin.cxx
src/decoder/AudiofileDecoderPlugin.cxx
+1
-1
No files found.
NEWS
View file @
7ada7def
ver 0.18.14 (not yet released)
* protocol
- fix range parser bug on certain 32 bit architectures
* decoder
- audiofile: fix crash after seeking
ver 0.18.13 (2014/08/31)
* protocol
...
...
src/decoder/AudiofileDecoderPlugin.cxx
View file @
7ada7def
...
...
@@ -110,9 +110,9 @@ audiofile_file_seek(AFvirtualfile *vfile, AFfileoffset offset, int is_relative)
Error
error
;
if
(
is
.
LockSeek
(
offset
,
whence
,
error
))
{
LogError
(
error
,
"Seek failed"
);
return
is
.
GetOffset
();
}
else
{
LogError
(
error
,
"Seek failed"
);
return
-
1
;
}
}
...
...
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