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
0acc88cd
Commit
0acc88cd
authored
Feb 19, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v0.19.x'
parents
3392cbbd
1e0ad1f6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
NEWS
NEWS
+6
-0
Aiff.cxx
src/tag/Aiff.cxx
+4
-4
Riff.cxx
src/tag/Riff.cxx
+4
-4
No files found.
NEWS
View file @
0acc88cd
...
...
@@ -47,6 +47,12 @@ ver 0.20 (not yet released)
* update
- apply .mpdignore matches to subdirectories
ver 0.19.13 (not yet released)
* tags
- aiff, riff: fix ID3 chunk padding
* decoder
- ffmpeg: support the TAK codec
ver 0.19.12 (2015/12/15)
* fix assertion failure on malformed UTF-8 tag
* fix build failure on non-Linux systems
...
...
src/tag/Aiff.cxx
View file @
0acc88cd
...
...
@@ -84,14 +84,14 @@ aiff_seek_id3(FILE *file)
underflow when casting to off_t */
return
0
;
if
(
size
%
2
!=
0
)
/* pad byte */
++
size
;
if
(
memcmp
(
chunk
.
id
,
"ID3 "
,
4
)
==
0
)
/* found it! */
return
size
;
if
(
size
%
2
!=
0
)
/* pad byte */
++
size
;
if
(
fseek
(
file
,
size
,
SEEK_CUR
)
!=
0
)
return
0
;
}
...
...
src/tag/Riff.cxx
View file @
0acc88cd
...
...
@@ -82,15 +82,15 @@ riff_seek_id3(FILE *file)
underflow when casting to off_t */
return
0
;
if
(
size
%
2
!=
0
)
/* pad byte */
++
size
;
if
(
memcmp
(
chunk
.
id
,
"id3 "
,
4
)
==
0
||
memcmp
(
chunk
.
id
,
"ID3 "
,
4
)
==
0
)
/* found it! */
return
size
;
if
(
size
%
2
!=
0
)
/* pad byte */
++
size
;
if
(
fseek
(
file
,
size
,
SEEK_CUR
)
!=
0
)
return
0
;
}
...
...
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