Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
0c942227
Commit
0c942227
authored
May 21, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/speex.c: fixed stupid bug in encoder.
parent
3fd30c8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/codec/speex.c
modules/codec/speex.c
+4
-4
No files found.
modules/codec/speex.c
View file @
0c942227
...
...
@@ -238,7 +238,7 @@ static int ProcessHeader( decoder_t *p_dec, ogg_packet *p_oggpacket )
void
*
p_state
;
SpeexHeader
*
p_header
;
SpeexMode
*
p_mode
;
const
SpeexMode
*
p_mode
;
SpeexCallback
callback
;
p_sys
->
p_header
=
p_header
=
...
...
@@ -460,7 +460,7 @@ static void ParseSpeexComments( decoder_t *p_dec, ogg_packet *p_oggpacket )
decoder_sys_t
*
p_sys
=
p_dec
->
p_sys
;
char
*
p_buf
=
(
char
*
)
p_oggpacket
->
packet
;
SpeexMode
*
p_mode
;
const
SpeexMode
*
p_mode
;
int
i_len
;
p_mode
=
speex_mode_list
[
p_sys
->
p_header
->
mode
];
...
...
@@ -519,7 +519,7 @@ struct encoder_sys_t
int
i_headers
;
char
*
p_buffer
;
char
*
p_buffer_out
[
MAX_FRAME_BYTES
];
char
p_buffer_out
[
MAX_FRAME_BYTES
];
/*
* Speex properties
...
...
@@ -549,7 +549,7 @@ static int OpenEncoder( vlc_object_t *p_this )
{
encoder_t
*
p_enc
=
(
encoder_t
*
)
p_this
;
encoder_sys_t
*
p_sys
;
SpeexMode
*
p_speex_mode
=
&
speex_nb_mode
;
const
SpeexMode
*
p_speex_mode
=
&
speex_nb_mode
;
int
i_quality
;
if
(
p_enc
->
fmt_out
.
i_codec
!=
VLC_FOURCC
(
's'
,
'p'
,
'x'
,
' '
)
&&
...
...
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