decoder/dsdiff: fix metadata parser bug (uninitialized variables)
This commit is contained in:
parent
a960e2ef48
commit
7db84a961a
1
NEWS
1
NEWS
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user