Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e3788b17
Commit
e3788b17
authored
Dec 29, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
marq: use vlc_strerror_c()
parent
53b501a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/video_filter/marq.c
modules/video_filter/marq.c
+4
-4
No files found.
modules/video_filter/marq.c
View file @
e3788b17
...
...
@@ -31,13 +31,13 @@
# include "config.h"
#endif
#include <errno.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_filter.h>
#include <vlc_block.h>
#include <vlc_fs.h>
#include <vlc_strings.h>
/*****************************************************************************
...
...
@@ -353,7 +353,7 @@ static char *MarqueeReadFile( filter_t *obj, const char *path )
FILE
*
stream
=
vlc_fopen
(
path
,
"rt"
);
if
(
stream
==
NULL
)
{
msg_Err
(
obj
,
"cannot open %s: %
m"
,
path
);
msg_Err
(
obj
,
"cannot open %s: %
s"
,
path
,
vlc_strerror_c
(
errno
)
);
return
NULL
;
}
...
...
@@ -362,7 +362,7 @@ static char *MarqueeReadFile( filter_t *obj, const char *path )
ssize_t
len
=
getline
(
&
line
,
&
(
size_t
){
0
},
stream
);
if
(
len
==
-
1
)
{
msg_Err
(
obj
,
"cannot read %s: %
m"
,
path
);
msg_Err
(
obj
,
"cannot read %s: %
s"
,
path
,
vlc_strerror_c
(
errno
)
);
clearerr
(
stream
);
line
=
NULL
;
}
...
...
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