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
428e94bf
Commit
428e94bf
authored
Dec 01, 2004
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some compilation fixes when HAVE_LIBCDDB is not defined.
(There remain still some core dumps to fix.)
parent
2448f5e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
modules/access/cdda/info.c
modules/access/cdda/info.c
+8
-4
No files found.
modules/access/cdda/info.c
View file @
428e94bf
...
...
@@ -395,8 +395,12 @@ cdda_data_t *p_cdda, char *psz_cdtext)
{
/* We either don't have CD-Text info, or we do but we prefer to get CDDB
which means CDDB has been enabled and we were able to retrieve the info.*/
#ifdef HAVE_LIBCDDB
return
!
psz_cdtext
||
(
!
p_cdda
->
b_cdtext_prefer
&&
p_cdda
->
b_cddb_enabled
&&
p_cdda
->
cddb
.
disc
);
#else
return
false
;
#endif
}
...
...
@@ -545,13 +549,13 @@ CDDAFormatStr( const access_t *p_access, cdda_data_t *p_cdda,
#else
case
'a'
:
if
(
p_cdda
->
p_cdtext
[
0
]
&&
p_cdda
->
p_cdtext
->
field
[
CDTEXT_PERFORMER
]
psz
=
p_cdda
->
p_cdtext
->
field
[
CDTEXT_PERFORMER
])
;
&&
p_cdda
->
p_cdtext
[
0
]
->
field
[
CDTEXT_PERFORMER
])
psz
=
p_cdda
->
p_cdtext
[
0
]
->
field
[
CDTEXT_PERFORMER
]
;
goto
format_str
;
case
'A'
:
if
(
p_cdda
->
p_cdtext
[
0
]
&&
p_cdda
->
p_cdtext
->
field
[
CDTEXT_TITLE
]
psz
=
p_cdda
->
p_cdtext
->
field
[
CDTEXT_TITLE
])
;
&&
p_cdda
->
p_cdtext
[
0
]
->
field
[
CDTEXT_TITLE
])
psz
=
p_cdda
->
p_cdtext
[
0
]
->
field
[
CDTEXT_TITLE
]
;
goto
format_str
;
case
'G'
:
if
(
p_cdda
->
p_cdtext
[
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