Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e63d66d5
Commit
e63d66d5
authored
Mar 09, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert [14683]
You can definitely declare variable at the beginning of a nested block with gcc 2.95
parent
c0d091ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/misc/rtsp.c
modules/misc/rtsp.c
+1
-2
No files found.
modules/misc/rtsp.c
View file @
e63d66d5
...
@@ -1133,7 +1133,6 @@ static char *SDPGenerate( const vod_media_t *p_media, httpd_client_t *cl )
...
@@ -1133,7 +1133,6 @@ static char *SDPGenerate( const vod_media_t *p_media, httpd_client_t *cl )
int
i
,
i_size
;
int
i
,
i_size
;
char
*
p
,
*
psz_sdp
,
ip
[
NI_MAXNUMERICHOST
],
ipv
;
char
*
p
,
*
psz_sdp
,
ip
[
NI_MAXNUMERICHOST
],
ipv
;
const
char
*
psz_control
;
const
char
*
psz_control
;
lldiv_t
d
;
if
(
httpd_ServerIP
(
cl
,
ip
)
==
NULL
)
if
(
httpd_ServerIP
(
cl
,
ip
)
==
NULL
)
return
NULL
;
return
NULL
;
...
@@ -1196,7 +1195,7 @@ static char *SDPGenerate( const vod_media_t *p_media, httpd_client_t *cl )
...
@@ -1196,7 +1195,7 @@ static char *SDPGenerate( const vod_media_t *p_media, httpd_client_t *cl )
if
(
p_media
->
i_length
>
0
)
if
(
p_media
->
i_length
>
0
)
{
{
d
=
lldiv
(
p_media
->
i_length
/
1000
,
1000
);
lldiv_t
d
=
lldiv
(
p_media
->
i_length
/
1000
,
1000
);
p
+=
sprintf
(
p
,
"a=range:npt=0-"
I64Fd
".%03u
\r\n
"
,
d
.
quot
,
p
+=
sprintf
(
p
,
"a=range:npt=0-"
I64Fd
".%03u
\r\n
"
,
d
.
quot
,
(
unsigned
)
d
.
rem
);
(
unsigned
)
d
.
rem
);
}
}
...
...
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