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
7db84a96
Commit
7db84a96
authored
Jul 12, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/dsdiff: fix metadata parser bug (uninitialized variables)
parent
a960e2ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
NEWS
NEWS
+1
-0
DsdiffDecoderPlugin.cxx
src/decoder/DsdiffDecoderPlugin.cxx
+4
-1
No files found.
NEWS
View file @
7db84a96
...
@@ -6,6 +6,7 @@ ver 0.18.12 (not yet released)
...
@@ -6,6 +6,7 @@ ver 0.18.12 (not yet released)
- audiofile: improve responsiveness
- audiofile: improve responsiveness
- audiofile: fix WAV stream playback
- audiofile: fix WAV stream playback
- dsdiff, dsf: fix stream playback
- dsdiff, dsf: fix stream playback
- dsdiff: fix metadata parser bug (uninitialized variables)
- faad: estimate song duration for remote files
- faad: estimate song duration for remote files
- sndfile: improve responsiveness
- sndfile: improve responsiveness
* randomize next song when enabling "random" mode while not playing
* randomize next song when enabling "random" mode while not playing
...
...
src/decoder/DsdiffDecoderPlugin.cxx
View file @
7db84a96
...
@@ -250,8 +250,11 @@ dsdiff_read_metadata_extra(Decoder *decoder, InputStream &is,
...
@@ -250,8 +250,11 @@ dsdiff_read_metadata_extra(Decoder *decoder, InputStream &is,
if
(
!
dsdiff_read_chunk_header
(
decoder
,
is
,
chunk_header
))
if
(
!
dsdiff_read_chunk_header
(
decoder
,
is
,
chunk_header
))
return
false
;
return
false
;
metadata
->
diar_offset
=
0
;
metadata
->
diti_offset
=
0
;
#ifdef HAVE_ID3TAG
#ifdef HAVE_ID3TAG
metadata
->
id3_
size
=
0
;
metadata
->
id3_
offset
=
0
;
#endif
#endif
/* Now process all the remaining chunk headers in the stream
/* Now process all the remaining chunk headers in the stream
...
...
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