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
3de41d49
Commit
3de41d49
authored
Jul 10, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All signedness fixes
parent
52831460
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
11 deletions
+13
-11
include/stream_output.h
include/stream_output.h
+2
-2
include/vlc_httpd.h
include/vlc_httpd.h
+3
-1
src/misc/httpd.c
src/misc/httpd.c
+1
-1
src/stream_output/sap.c
src/stream_output/sap.c
+3
-3
src/video_output/video_output.c
src/video_output/video_output.c
+4
-4
No files found.
include/stream_output.h
View file @
3de41d49
...
...
@@ -267,8 +267,8 @@ struct announce_method_t
struct
sap_session_t
{
char
*
psz_sdp
;
char
*
psz_data
;
int
i_length
;
uint8_t
*
psz_data
;
unsigned
i_length
;
sap_address_t
*
p_address
;
/* Last and next send */
...
...
include/vlc_httpd.h
View file @
3de41d49
...
...
@@ -82,7 +82,9 @@ struct httpd_message_t
/* for a query */
char
*
psz_url
;
char
*
psz_args
;
/* FIXME find a clean way to handle GET(psz_args) and POST(body) through the same code */
/* FIXME find a clean way to handle GET(psz_args)
and POST(body) through the same code */
uint8_t
*
psz_args
;
/* for rtp over rtsp */
int
i_channel
;
...
...
src/misc/httpd.c
View file @
3de41d49
...
...
@@ -466,7 +466,7 @@ static int httpd_FileCallBack( httpd_callback_sys_t *p_sys, httpd_client_t *cl,
if
(
query
->
i_type
!=
HTTPD_MSG_HEAD
)
{
char
*
psz_args
=
query
->
psz_args
;
uint8_t
*
psz_args
=
query
->
psz_args
;
if
(
query
->
i_type
==
HTTPD_MSG_POST
)
{
/* Check that */
...
...
src/stream_output/sap.c
View file @
3de41d49
...
...
@@ -483,8 +483,8 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
psz_head
[
i_header_size
-
1
]
=
'\0'
;
p_sap_session
->
i_length
=
i_header_size
+
strlen
(
p_sap_session
->
psz_sdp
);
p_sap_session
->
psz_data
=
(
char
*
)
malloc
(
sizeof
(
char
)
*
p_sap_session
->
i_length
);
p_sap_session
->
psz_data
=
(
uint8_t
*
)
malloc
(
sizeof
(
char
)
*
p_sap_session
->
i_length
);
/* Build the final message */
memcpy
(
p_sap_session
->
psz_data
,
psz_head
,
i_header_size
);
...
...
@@ -665,7 +665,7 @@ static int SDPGenerate( sap_handler_t *p_sap, session_descriptor_t *p_session )
static
int
CalculateRate
(
sap_handler_t
*
p_sap
,
sap_address_t
*
p_address
)
{
int
i_read
;
char
buffer
[
SAP_MAX_BUFFER
];
uint8_t
buffer
[
SAP_MAX_BUFFER
];
int
i_tot
=
0
;
mtime_t
i_temp
;
int
i_rate
;
...
...
src/video_output/video_output.c
View file @
3de41d49
...
...
@@ -59,7 +59,7 @@ static void DestroyThread ( vout_thread_t * );
static
void
AspectRatio
(
int
,
int
*
,
int
*
);
static
int
BinaryLog
(
uint32_t
);
static
void
MaskToShift
(
int
*
,
int
*
,
uint32_t
);
static
void
InitWindowSize
(
vout_thread_t
*
,
int
*
,
int
*
);
static
void
InitWindowSize
(
vout_thread_t
*
,
unsigned
*
,
unsigned
*
);
/* Object variables callbacks */
static
int
DeinterlaceCallback
(
vlc_object_t
*
,
char
const
*
,
...
...
@@ -128,7 +128,7 @@ vout_thread_t *__vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout,
p_vout
=
vlc_object_find
(
p_playlist
,
VLC_OBJECT_VOUT
,
FIND_CHILD
);
/* only first children of p_input for unused vout */
if
(
p_vout
&&
p_vout
->
p_parent
!=
p_playlist
)
if
(
p_vout
&&
p_vout
->
p_parent
!=
(
vlc_object_t
*
)
p_playlist
)
{
vlc_object_release
(
p_vout
);
p_vout
=
NULL
;
...
...
@@ -1256,8 +1256,8 @@ static void MaskToShift( int *pi_left, int *pi_right, uint32_t i_mask )
* This function will check the "width", "height" and "zoom" config options and
* will calculate the size that the video window should have.
*****************************************************************************/
static
void
InitWindowSize
(
vout_thread_t
*
p_vout
,
int
*
pi_width
,
int
*
pi_height
)
static
void
InitWindowSize
(
vout_thread_t
*
p_vout
,
unsigned
*
pi_width
,
unsigned
*
pi_height
)
{
vlc_value_t
val
;
int
i_width
,
i_height
;
...
...
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