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
8b621277
Commit
8b621277
authored
Aug 29, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/gme: fix song duration
The unit of gme_info_t::length is milliseconds, not centiseconds.
parent
f06fe1ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
NEWS
NEWS
+1
-0
GmeDecoderPlugin.cxx
src/decoder/GmeDecoderPlugin.cxx
+1
-1
No files found.
NEWS
View file @
8b621277
...
@@ -2,6 +2,7 @@ ver 0.18.13 (not yet released)
...
@@ -2,6 +2,7 @@ ver 0.18.13 (not yet released)
* decoder
* decoder
- dsdiff, dsf: fix endless loop on malformed file
- dsdiff, dsf: fix endless loop on malformed file
- ffmpeg: support ffmpeg/libav version 11
- ffmpeg: support ffmpeg/libav version 11
- gme: fix song duration
* fix state file saver
* fix state file saver
* fix build failure on Darwin
* fix build failure on Darwin
...
...
src/decoder/GmeDecoderPlugin.cxx
View file @
8b621277
...
@@ -235,7 +235,7 @@ gme_scan_file(const char *path_fs,
...
@@ -235,7 +235,7 @@ gme_scan_file(const char *path_fs,
if
(
ti
->
length
>
0
)
if
(
ti
->
length
>
0
)
tag_handler_invoke_duration
(
handler
,
handler_ctx
,
tag_handler_invoke_duration
(
handler
,
handler_ctx
,
ti
->
length
/
100
);
ti
->
length
/
100
0
);
if
(
ti
->
song
!=
nullptr
)
{
if
(
ti
->
song
!=
nullptr
)
{
if
(
gme_track_count
(
emu
)
>
1
)
{
if
(
gme_track_count
(
emu
)
>
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