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
63974bd4
Commit
63974bd4
authored
Sep 06, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/http: print error that causes reconnection
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
7990beed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
http.c
libavformat/http.c
+1
-1
No files found.
libavformat/http.c
View file @
63974bd4
...
...
@@ -1242,7 +1242,7 @@ static int http_read_stream(URLContext *h, uint8_t *buf, int size)
#endif
/* CONFIG_ZLIB */
read_ret
=
http_buf_read
(
h
,
buf
,
size
);
if
(
read_ret
<
0
&&
s
->
reconnect
&&
!
h
->
is_streamed
&&
s
->
filesize
>
0
&&
s
->
off
<
s
->
filesize
)
{
av_log
(
h
,
AV_LOG_INFO
,
"Will reconnect at %"
PRId64
"
.
\n
"
,
s
->
off
);
av_log
(
h
,
AV_LOG_INFO
,
"Will reconnect at %"
PRId64
"
error=%s.
\n
"
,
s
->
off
,
av_err2str
(
read_ret
)
);
seek_ret
=
http_seek_internal
(
h
,
s
->
off
,
SEEK_SET
,
1
);
if
(
seek_ret
!=
s
->
off
)
{
av_log
(
h
,
AV_LOG_ERROR
,
"Failed to reconnect at %"
PRId64
".
\n
"
,
s
->
off
);
...
...
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