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
447e4d35
Commit
447e4d35
authored
Oct 18, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merged release 0.15.5 from branch 'v0.15.x'
Conflicts: NEWS configure.ac src/decoder/flac_plugin.c src/update.c
parents
33bf6c09
7df1a2c7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
9 deletions
+15
-9
NEWS
NEWS
+5
-1
flac_plugin.c
src/decoder/flac_plugin.c
+3
-2
output_thread.c
src/output_thread.c
+1
-0
update_walk.c
src/update_walk.c
+6
-6
No files found.
NEWS
View file @
447e4d35
...
...
@@ -49,13 +49,17 @@ ver 0.16 (20??/??/??)
* require GLib 2.16
ver 0.15.5 (2009/
??/??
)
ver 0.15.5 (2009/
10/18
)
* input:
- curl: don't abort if a packet has only metadata
- curl: fixed endless loop during buffering
* tags:
- riff, aiff: fixed "limited range" gcc warning
* decoders:
- flac: fixed two memory leaks in the CUE tag loader
* decoder_thread: change the fallback decoder name to "mad"
* output_thread: check again if output is open on CANCEL
* update: fixed memory leak during container scan
ver 0.15.4 (2009/10/03)
...
...
src/decoder/flac_plugin.c
View file @
447e4d35
...
...
@@ -299,12 +299,12 @@ flac_cue_tag_load(const char *file)
unsigned
int
sample_rate
=
0
;
FLAC__uint64
track_time
=
0
;
#ifdef HAVE_CUE
/* libcue */
FLAC__StreamMetadata
*
vc
=
FLAC__metadata_object_new
(
FLAC__METADATA_TYPE_VORBIS_COMMENT
)
;
FLAC__StreamMetadata
*
vc
;
char
*
cs_filename
;
FILE
*
cs_file
;
#endif
/* libcue */
FLAC__StreamMetadata
*
si
=
FLAC__metadata_object_new
(
FLAC__METADATA_TYPE_STREAMINFO
);
FLAC__StreamMetadata
*
cs
=
FLAC__metadata_object_new
(
FLAC__METADATA_TYPE_CUESHEET
)
;
FLAC__StreamMetadata
*
cs
;
tnum
=
flac_vtrack_tnum
(
file
);
char_tnum
=
g_strdup_printf
(
"%u"
,
tnum
);
...
...
@@ -328,6 +328,7 @@ flac_cue_tag_load(const char *file)
}
}
}
FLAC__metadata_object_delete
(
vc
);
}
...
...
src/output_thread.c
View file @
447e4d35
...
...
@@ -351,6 +351,7 @@ static gpointer audio_output_task(gpointer arg)
case
AO_COMMAND_CANCEL
:
ao
->
chunk
=
NULL
;
if
(
ao
->
open
)
ao_plugin_cancel
(
ao
->
plugin
,
ao
->
data
);
ao_command_finished
(
ao
);
...
...
src/update_walk.c
View file @
447e4d35
...
...
@@ -472,20 +472,20 @@ update_container_file( struct directory* directory,
while
((
vtrack
=
plugin
->
container_scan
(
pathname
,
++
tnum
))
!=
NULL
)
{
struct
song
*
song
=
song_file_new
(
vtrack
,
contdir
);
if
(
song
==
NULL
)
return
true
;
char
*
child_path_fs
;
// shouldn't be necessary but it's there..
song
->
mtime
=
st
->
st_mtime
;
song
->
tag
=
plugin
->
tag_dup
(
map_directory_child_fs
(
contdir
,
vtrack
));
child_path_fs
=
map_directory_child_fs
(
contdir
,
vtrack
);
g_free
(
vtrack
);
song
->
tag
=
plugin
->
tag_dup
(
child_path_fs
);
g_free
(
child_path_fs
);
songvec_add
(
&
contdir
->
songs
,
song
);
song
=
NULL
;
modified
=
true
;
g_free
(
vtrack
);
}
g_free
(
pathname
);
...
...
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