Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
c351cc7f
Commit
c351cc7f
authored
May 25, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better error message
Originally committed as revision 13370 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
bc908bc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ffserver.c
ffserver.c
+4
-4
No files found.
ffserver.c
View file @
c351cc7f
...
@@ -1887,7 +1887,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
...
@@ -1887,7 +1887,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
char
buf
[
128
];
char
buf
[
128
];
char
input_filename
[
1024
];
char
input_filename
[
1024
];
AVFormatContext
*
s
;
AVFormatContext
*
s
;
int
buf_size
,
i
;
int
buf_size
,
i
,
ret
;
int64_t
stream_pos
;
int64_t
stream_pos
;
/* find file name */
/* find file name */
...
@@ -1929,9 +1929,9 @@ static int open_input_stream(HTTPContext *c, const char *info)
...
@@ -1929,9 +1929,9 @@ static int open_input_stream(HTTPContext *c, const char *info)
#endif
#endif
/* open stream */
/* open stream */
if
(
av_open_input_file
(
&
s
,
input_filename
,
c
->
stream
->
ifmt
,
if
(
(
ret
=
av_open_input_file
(
&
s
,
input_filename
,
c
->
stream
->
ifmt
,
buf_size
,
c
->
stream
->
ap_in
)
<
0
)
{
buf_size
,
c
->
stream
->
ap_in
)
)
<
0
)
{
http_log
(
"
%s not found"
,
input_filename
);
http_log
(
"
could not open %s: %d
\n
"
,
input_filename
,
ret
);
return
-
1
;
return
-
1
;
}
}
s
->
flags
|=
AVFMT_FLAG_GENPTS
;
s
->
flags
|=
AVFMT_FLAG_GENPTS
;
...
...
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