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
9ce57311
Commit
9ce57311
authored
Aug 20, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc fixes in goom, freetype and warning in last.fm
parent
34df8097
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
modules/misc/audioscrobbler.c
modules/misc/audioscrobbler.c
+2
-0
modules/misc/freetype.c
modules/misc/freetype.c
+3
-1
modules/visualization/goom.c
modules/visualization/goom.c
+3
-3
No files found.
modules/misc/audioscrobbler.c
View file @
9ce57311
...
...
@@ -465,6 +465,8 @@ static void Run( intf_thread_t *p_intf )
static
int
PlayingChange
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
VLC_UNUSED
(
oldval
);
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
p_data
;
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
input_thread_t
*
p_input
=
(
input_thread_t
*
)
p_this
;
...
...
modules/misc/freetype.c
View file @
9ce57311
...
...
@@ -49,7 +49,9 @@
#include FT_GLYPH_H
#define FT_FLOOR(X) ((X & -64) >> 6)
#define FT_CEIL(X) (((X + 63) & -64) >> 6)
#define FT_MulFix(v, s) (((v)*(s))>>16)
#ifndef FT_MulFix
#define FT_MulFix(v, s) (((v)*(s))>>16)
#endif
#ifdef __APPLE__
#define DEFAULT_FONT "/System/Library/Fonts/LucidaGrande.dfont"
...
...
modules/visualization/goom.c
View file @
9ce57311
...
...
@@ -102,7 +102,7 @@ typedef struct
vlc_cond_t
wait
;
/* Audio properties */
int
i_channels
;
unsigned
i_channels
;
/* Audio samples queue */
block_t
*
pp_blocks
[
MAX_BLOCKS
];
...
...
@@ -274,8 +274,8 @@ static int FillBuffer( int16_t *p_data, int *pi_data,
if
(
!
p_this
->
i_blocks
)
return
VLC_EGENERIC
;
p_block
=
p_this
->
pp_blocks
[
0
];
i_samples
=
__MIN
(
512
-
*
pi_data
,
p_block
->
i_buffer
/
sizeof
(
float
)
/
p_this
->
i_channels
);
i_samples
=
__MIN
(
(
unsigned
)(
512
-
*
pi_data
),
p_block
->
i_buffer
/
sizeof
(
float
)
/
p_this
->
i_channels
);
/* Date management */
if
(
p_block
->
i_pts
>
0
&&
...
...
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