Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2e1df2f4
Commit
2e1df2f4
authored
Jul 29, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Faad: Fix wrong variable type
parent
91fe1b17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/faad.c
modules/codec/faad.c
+2
-2
No files found.
modules/codec/faad.c
View file @
2e1df2f4
...
@@ -315,7 +315,6 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
...
@@ -315,7 +315,6 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
void
*
samples
;
void
*
samples
;
faacDecFrameInfo
frame
;
faacDecFrameInfo
frame
;
block_t
*
p_out
;
block_t
*
p_out
;
int
i
,
j
;
samples
=
faacDecDecode
(
p_sys
->
hfaad
,
&
frame
,
samples
=
faacDecDecode
(
p_sys
->
hfaad
,
&
frame
,
p_sys
->
p_buffer
,
p_sys
->
i_buffer
);
p_sys
->
p_buffer
,
p_sys
->
i_buffer
);
...
@@ -434,7 +433,8 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
...
@@ -434,7 +433,8 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
/* Convert frame.channel_position to our own channel values */
/* Convert frame.channel_position to our own channel values */
p_dec
->
fmt_out
.
audio
.
i_physical_channels
=
0
;
p_dec
->
fmt_out
.
audio
.
i_physical_channels
=
0
;
const
uint32_t
nbChannels
=
frame
.
channels
;
const
uint32_t
nbChannels
=
frame
.
channels
;
for
(
i
=
0
;
i
<
nbChannels
;
i
++
)
unsigned
j
;
for
(
unsigned
i
=
0
;
i
<
nbChannels
;
i
++
)
{
{
/* Find the channel code */
/* Find the channel code */
for
(
j
=
0
;
j
<
MAX_CHANNEL_POSITIONS
;
j
++
)
for
(
j
=
0
;
j
<
MAX_CHANNEL_POSITIONS
;
j
++
)
...
...
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