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
661e7821
Commit
661e7821
authored
Sep 20, 2005
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
visual/effects.c: compile fix
parent
4a4a0f55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/visualization/visual/effects.c
modules/visualization/visual/effects.c
+2
-2
No files found.
modules/visualization/visual/effects.c
View file @
661e7821
...
@@ -378,14 +378,14 @@ int spectrometer_Run(visual_effect_t * p_effect, aout_instance_t *p_aout,
...
@@ -378,14 +378,14 @@ int spectrometer_Run(visual_effect_t * p_effect, aout_instance_t *p_aout,
int16_t
p_dest
[
FFT_BUFFER_SIZE
];
/* Adapted FFT result */
int16_t
p_dest
[
FFT_BUFFER_SIZE
];
/* Adapted FFT result */
int16_t
p_buffer1
[
FFT_BUFFER_SIZE
];
/* Buffer on which we perform
int16_t
p_buffer1
[
FFT_BUFFER_SIZE
];
/* Buffer on which we perform
the FFT (first channel) */
the FFT (first channel) */
i_line
=
0
;
float
*
p_buffl
=
/* Original buffer */
float
*
p_buffl
=
/* Original buffer */
(
float
*
)
p_buffer
->
p_buffer
;
(
float
*
)
p_buffer
->
p_buffer
;
int16_t
*
p_buffs
;
/* int16_t converted buffer */
int16_t
*
p_buffs
;
/* int16_t converted buffer */
int16_t
*
p_s16_buff
=
NULL
;
/* int16_t converted buffer */
int16_t
*
p_s16_buff
=
NULL
;
/* int16_t converted buffer */
i_line
=
0
;
p_s16_buff
=
(
int16_t
*
)
malloc
(
p_s16_buff
=
(
int16_t
*
)
malloc
(
p_buffer
->
i_nb_samples
*
p_effect
->
i_nb_chans
*
sizeof
(
int16_t
));
p_buffer
->
i_nb_samples
*
p_effect
->
i_nb_chans
*
sizeof
(
int16_t
));
...
...
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