Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
0d6d5607
Commit
0d6d5607
authored
Aug 07, 2007
by
Rémi Denis-Courmont
Browse files
Do not bother with the byte range when we are at offset zero
parent
738f62a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/http.c
View file @
0d6d5607
...
...
@@ -925,7 +925,7 @@ static int Request( access_t *p_access, int64_t i_tell )
net_Printf
(
VLC_OBJECT
(
p_access
),
p_sys
->
fd
,
pvs
,
"User-Agent: %s
\r\n
"
,
p_sys
->
psz_user_agent
);
/* Offset */
if
(
p_sys
->
i_version
==
1
)
if
(
(
p_sys
->
i_version
==
1
)
&&
(
i_tell
>
0
)
)
{
net_Printf
(
VLC_OBJECT
(
p_access
),
p_sys
->
fd
,
pvs
,
"Range: bytes="
I64Fd
"-
\r\n
"
,
i_tell
);
...
...
Write
Preview
Supports
Markdown
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