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
47d37588
Commit
47d37588
authored
Nov 09, 2013
by
Jurgen Kramer
Committed by
Max Kellermann
Nov 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/dsdiff: fix byte order bug
parent
573ff3a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
NEWS
NEWS
+2
-0
DsdLib.hxx
src/decoder/DsdLib.hxx
+11
-0
DsdiffDecoderPlugin.cxx
src/decoder/DsdiffDecoderPlugin.cxx
+2
-2
No files found.
NEWS
View file @
47d37588
ver 0.18.4 (not yet released)
* decoder
- dsdiff: fix byte order bug
ver 0.18.3 (2013/11/08)
* fix stuck MPD after song change (0.18.2 regression)
...
...
src/decoder/DsdLib.hxx
View file @
47d37588
...
...
@@ -47,6 +47,17 @@ public:
}
};
class
DffDsdUint64
{
uint32_t
hi
;
uint32_t
lo
;
public
:
constexpr
uint64_t
Read
()
const
{
return
(
uint64_t
(
FromBE32
(
hi
))
<<
32
)
|
uint64_t
(
FromBE32
(
lo
));
}
};
bool
dsdlib_read
(
Decoder
*
decoder
,
InputStream
&
is
,
void
*
data
,
size_t
length
);
...
...
src/decoder/DsdiffDecoderPlugin.cxx
View file @
47d37588
...
...
@@ -43,13 +43,13 @@
struct
DsdiffHeader
{
DsdId
id
;
DsdUint64
size
;
D
ffD
sdUint64
size
;
DsdId
format
;
};
struct
DsdiffChunkHeader
{
DsdId
id
;
DsdUint64
size
;
D
ffD
sdUint64
size
;
/**
* Read the "size" attribute from the specified header, converting it
...
...
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