Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
f61d45c9
Commit
f61d45c9
authored
May 24, 2008
by
Baptiste Coudurier
Browse files
better error message
Originally committed as revision 13272 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1692008f
Changes
1
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 @
f61d45c9
...
...
@@ -3302,7 +3302,7 @@ static void build_file_streams(void)
{
FFStream
*
stream
,
*
stream_next
;
AVFormatContext
*
infile
;
int
i
;
int
i
,
ret
;
/* gather all streams */
for
(
stream
=
first_stream
;
stream
!=
NULL
;
stream
=
stream_next
)
{
...
...
@@ -3320,9 +3320,9 @@ static void build_file_streams(void)
stream
->
ap_in
->
mpeg2ts_compute_pcr
=
1
;
}
if
(
av_open_input_file
(
&
infile
,
stream
->
feed_filename
,
stream
->
ifmt
,
0
,
stream
->
ap_in
)
<
0
)
{
http_log
(
"
%s not found
"
,
stream
->
feed_filename
);
if
(
(
ret
=
av_open_input_file
(
&
infile
,
stream
->
feed_filename
,
stream
->
ifmt
,
0
,
stream
->
ap_in
)
)
<
0
)
{
http_log
(
"
could not open %s: %d
\n
"
,
stream
->
feed_filename
,
ret
);
/* remove stream (no need to spend more time on it) */
fail:
remove_stream
(
stream
);
...
...
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