Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
2729ff69
Commit
2729ff69
authored
Oct 02, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix signedness gcc warnings
parent
198220ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/codec/speex.c
modules/codec/speex.c
+4
-3
No files found.
modules/codec/speex.c
View file @
2729ff69
...
...
@@ -325,7 +325,8 @@ static int ProcessInitialHeader( decoder_t *p_dec, ogg_packet *p_oggpacket )
SpeexCallback
callback
;
p_sys
->
p_header
=
p_header
=
speex_packet_to_header
(
p_oggpacket
->
packet
,
p_oggpacket
->
bytes
);
speex_packet_to_header
(
(
char
*
)
p_oggpacket
->
packet
,
p_oggpacket
->
bytes
);
if
(
!
p_header
)
{
msg_Err
(
p_dec
,
"cannot read Speex header"
);
...
...
@@ -448,7 +449,7 @@ static aout_buffer_t *DecodePacket( decoder_t *p_dec, ogg_packet *p_oggpacket )
if
(
p_oggpacket
->
bytes
)
{
/* Copy Ogg packet to Speex bitstream */
speex_bits_read_from
(
&
p_sys
->
bits
,
p_oggpacket
->
packet
,
speex_bits_read_from
(
&
p_sys
->
bits
,
(
char
*
)
p_oggpacket
->
packet
,
p_oggpacket
->
bytes
);
p_sys
->
i_frame_in_packet
=
0
;
}
...
...
@@ -713,7 +714,7 @@ static block_t *Encode( encoder_t *p_enc, aout_buffer_t *p_aout_buf )
encoder_sys_t
*
p_sys
=
p_enc
->
p_sys
;
block_t
*
p_block
,
*
p_chain
=
NULL
;
char
*
p_buffer
=
p_aout_buf
->
p_buffer
;
unsigned
char
*
p_buffer
=
p_aout_buf
->
p_buffer
;
int
i_samples
=
p_aout_buf
->
i_nb_samples
;
int
i_samples_delay
=
p_sys
->
i_samples_delay
;
...
...
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