Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f678aa83
Commit
f678aa83
authored
Aug 13, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify code.
parent
36fd3e1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/input/es_out.c
src/input/es_out.c
+2
-2
src/input/subtitles.c
src/input/subtitles.c
+1
-1
No files found.
src/input/es_out.c
View file @
f678aa83
...
...
@@ -671,12 +671,12 @@ static char *EsOutProgramGetMetaName( es_out_pgrm_t *p_pgrm )
if
(
p_pgrm
->
psz_name
)
{
if
(
asprintf
(
&
psz
,
_
(
"%s [%s %d]"
),
p_pgrm
->
psz_name
,
_
(
"Program"
),
p_pgrm
->
i_id
)
==
-
1
)
psz
=
NULL
;
return
NULL
;
}
else
{
if
(
asprintf
(
&
psz
,
"%s %d"
,
_
(
"Program"
),
p_pgrm
->
i_id
)
==
-
1
)
psz
=
NULL
;
return
NULL
;
}
return
psz
;
}
...
...
src/input/subtitles.c
View file @
f678aa83
...
...
@@ -291,7 +291,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
f_fname
=
strdup
(
psz_fname
);
if
(
asprintf
(
&
f_dir
,
"%s%c"
,
psz_cwd
,
DIR_SEP_CHAR
)
==
-
1
)
f_dir
=
NULL
;
/* Assure that function will return in next test */
f_dir
=
NULL
;
/* Assure that function will return in next test */
free
(
psz_cwd
);
}
if
(
!
f_fname
||
!
f_dir
)
...
...
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