Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4e70b523
Commit
4e70b523
authored
Aug 13, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Vorbis: fix totaltracks info parsing
parent
13f92c66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/demux/vorbis.h
modules/demux/vorbis.h
+5
-4
No files found.
modules/demux/vorbis.h
View file @
4e70b523
...
...
@@ -152,10 +152,11 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
IF_EXTRACT
(
"TITLE="
,
Title
)
else
IF_EXTRACT
(
"ALBUM="
,
Album
)
else
IF_EXTRACT
(
"TRACKNUMBER="
,
TrackNumber
)
else
if
(
!
hasTrackTotal
)
{
IF_EXTRACT
(
"TRACKTOTAL="
,
TrackTotal
)
}
else
if
(
!
hasTrackTotal
)
{
IF_EXTRACT
(
"TOTALTRACKS="
,
TrackTotal
)
}
else
if
(
!
strncasecmp
(
psz_comment
,
"TRACKTOTAL="
,
strlen
(
"TRACKTOTAL="
)))
vlc_meta_Set
(
p_meta
,
vlc_meta_TrackTotal
,
&
psz_comment
[
strlen
(
"TRACKTOTAL="
)]
);
else
if
(
!
strncasecmp
(
psz_comment
,
"TOTALTRACKS="
,
strlen
(
"TOTALTRACKS="
)))
vlc_meta_Set
(
p_meta
,
vlc_meta_TrackTotal
,
&
psz_comment
[
strlen
(
"TOTALTRACKS="
)]
);
else
IF_EXTRACT
(
"TOTALTRACKS="
,
TrackTotal
)
else
IF_EXTRACT
(
"ARTIST="
,
Artist
)
else
IF_EXTRACT
(
"COPYRIGHT="
,
Copyright
)
else
IF_EXTRACT
(
"ORGANIZATION="
,
Publisher
)
...
...
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