Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c3358bd5
Commit
c3358bd5
authored
Aug 25, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* vorbis comments can be mixed case. strstr -> strcasestr
parent
c4efd024
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/codec/vorbis.c
modules/codec/vorbis.c
+3
-2
No files found.
modules/codec/vorbis.c
View file @
c3358bd5
...
...
@@ -311,6 +311,7 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if
(
p_sys
->
i_headers
==
0
&&
p_dec
->
fmt_in
.
i_extra
)
{
/* Headers already available as extra data */
msg_Dbg
(
p_dec
,
"Headers already available as extra data"
);
p_sys
->
i_headers
=
3
;
}
else
if
(
oggpacket
.
bytes
&&
p_sys
->
i_headers
<
3
)
...
...
@@ -617,12 +618,12 @@ static void ParseVorbisComments( decoder_t *p_dec )
input_Control
(
p_input
,
INPUT_ADD_INFO
,
_
(
"Vorbis comment"
),
psz_name
,
psz_value
);
/* HACK, we should use meta */
if
(
strstr
(
psz_name
,
"artist"
)
)
if
(
str
case
str
(
psz_name
,
"artist"
)
)
{
input_Control
(
p_input
,
INPUT_ADD_INFO
,
_
(
"Meta-information"
),
_
(
"Artist"
),
psz_value
);
}
else
if
(
strstr
(
psz_name
,
"title"
)
)
else
if
(
str
case
str
(
psz_name
,
"title"
)
)
{
p_input
->
input
.
p_item
->
psz_name
=
strdup
(
psz_value
);
}
...
...
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