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
5dafc001
Commit
5dafc001
authored
Nov 05, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modules: Remove tabs in source code
parent
9c9e6346
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
46 additions
and
45 deletions
+46
-45
modules/access/mtp.c
modules/access/mtp.c
+1
-1
modules/audio_output/audioqueue.c
modules/audio_output/audioqueue.c
+4
-4
modules/audio_output/sndio.c
modules/audio_output/sndio.c
+19
-19
modules/codec/kate.c
modules/codec/kate.c
+1
-1
modules/control/oldrc.c
modules/control/oldrc.c
+1
-1
modules/demux/mjpeg.c
modules/demux/mjpeg.c
+8
-8
modules/lua/libs/playlist.c
modules/lua/libs/playlist.c
+1
-1
modules/lua/vlc.h
modules/lua/vlc.h
+4
-3
modules/misc/securetransport.c
modules/misc/securetransport.c
+2
-2
modules/video_chroma/i420_rgb_mmx.h
modules/video_chroma/i420_rgb_mmx.h
+5
-5
No files found.
modules/access/mtp.c
View file @
5dafc001
...
...
@@ -165,7 +165,7 @@ static void Close( vlc_object_t * p_this )
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
close
(
p_sys
->
fd
);
if
(
vlc_unlink
(
p_access
->
psz_filepath
)
!=
0
)
if
(
vlc_unlink
(
p_access
->
psz_filepath
)
!=
0
)
msg_Err
(
p_access
,
"Error deleting file %s, %s"
,
p_access
->
psz_filepath
,
vlc_strerror_c
(
errno
)
);
free
(
p_sys
);
...
...
modules/audio_output/audioqueue.c
View file @
5dafc001
...
...
@@ -165,10 +165,10 @@ static int Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
NULL
,
NULL
);
// Set audio session to mediaplayback
UInt32
sessionCategory
=
kAudioSessionCategory_MediaPlayback
;
AudioSessionSetProperty
(
kAudioSessionProperty_AudioCategory
,
sizeof
(
sessionCategory
),
&
sessionCategory
);
AudioSessionSetActive
(
true
);
// Set audio session to mediaplayback
UInt32
sessionCategory
=
kAudioSessionCategory_MediaPlayback
;
AudioSessionSetProperty
(
kAudioSessionProperty_AudioCategory
,
sizeof
(
sessionCategory
),
&
sessionCategory
);
AudioSessionSetActive
(
true
);
#endif
p_aout
->
sys
->
b_started
=
true
;
...
...
modules/audio_output/sndio.c
View file @
5dafc001
...
...
@@ -77,26 +77,26 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
sio_initpar
(
&
par
);
switch
(
fmt
->
i_format
)
{
case
VLC_CODEC_U8
:
par
.
bits
=
8
;
par
.
sig
=
0
;
break
;
par
.
bits
=
8
;
par
.
sig
=
0
;
break
;
case
VLC_CODEC_S16N
:
par
.
bits
=
16
;
par
.
sig
=
1
;
par
.
le
=
SIO_LE_NATIVE
;
break
;
par
.
bits
=
16
;
par
.
sig
=
1
;
par
.
le
=
SIO_LE_NATIVE
;
break
;
case
VLC_CODEC_S32N
:
case
VLC_CODEC_FL32
:
case
VLC_CODEC_FL64
:
par
.
bits
=
32
;
par
.
sig
=
1
;
par
.
le
=
SIO_LE_NATIVE
;
break
;
par
.
bits
=
32
;
par
.
sig
=
1
;
par
.
le
=
SIO_LE_NATIVE
;
break
;
default:
/* use a common audio format */
par
.
bits
=
16
;
par
.
sig
=
1
;
par
.
le
=
SIO_LE_NATIVE
;
/* use a common audio format */
par
.
bits
=
16
;
par
.
sig
=
1
;
par
.
le
=
SIO_LE_NATIVE
;
}
par
.
pchan
=
aout_FormatNbChannels
(
fmt
);
par
.
rate
=
fmt
->
i_rate
;
...
...
@@ -124,7 +124,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
if
(
par
.
bps
>
1
&&
par
.
le
!=
SIO_LE_NATIVE
)
{
msg_Err
(
aout
,
"unsupported audio sample format (%s endian)"
,
par
.
le
?
"little"
:
"big"
);
par
.
le
?
"little"
:
"big"
);
goto
error
;
}
switch
(
par
.
bits
)
...
...
@@ -221,7 +221,7 @@ static int TimeGet (audio_output_t *aout, mtime_t *restrict delay)
aout_sys_t
*
sys
=
aout
->
sys
;
if
(
!
sys
->
started
)
return
-
1
;
return
-
1
;
*
delay
=
(
mtime_t
)
sys
->
delay
*
CLOCK_FREQ
/
sys
->
rate
;
return
0
;
}
...
...
@@ -263,9 +263,9 @@ static int VolumeSet (audio_output_t *aout, float fvol)
unsigned
volume
;
if
(
fvol
<
0
)
fvol
=
0
;
fvol
=
0
;
if
(
fvol
>
1
)
fvol
=
1
;
fvol
=
1
;
volume
=
lroundf
(
fvol
*
SIO_MAXVOL
);
if
(
!
sys
->
mute
&&
!
sio_setvol
(
sys
->
hdl
,
volume
))
return
-
1
;
...
...
modules/codec/kate.c
View file @
5dafc001
...
...
@@ -657,7 +657,7 @@ static void GetVideoSize( decoder_t *p_dec, int *w, int *h )
*
w
=
p_sys
->
ki
.
original_canvas_width
;
*
h
=
p_sys
->
ki
.
original_canvas_height
;
msg_Dbg
(
p_dec
,
"original canvas %zu %zu"
,
p_sys
->
ki
.
original_canvas_width
,
p_sys
->
ki
.
original_canvas_height
);
p_sys
->
ki
.
original_canvas_width
,
p_sys
->
ki
.
original_canvas_height
);
}
else
{
...
...
modules/control/oldrc.c
View file @
5dafc001
...
...
@@ -1024,7 +1024,7 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
}
else
if
(
!
strcmp
(
psz_cmd
,
"frame"
)
)
{
var_TriggerCallback
(
p_input
,
"frame-next"
);
var_TriggerCallback
(
p_input
,
"frame-next"
);
i_error
=
VLC_SUCCESS
;
}
else
if
(
!
strcmp
(
psz_cmd
,
"chapter"
)
||
...
...
modules/demux/mjpeg.c
View file @
5dafc001
...
...
@@ -322,14 +322,14 @@ static int Open( vlc_object_t * p_this )
char
*
boundary
=
strstr
(
content_type
,
"boundary="
);
if
(
boundary
)
{
boundary
+=
strlen
(
"boundary="
);
size_t
len
=
strlen
(
boundary
);
if
(
len
>
2
&&
boundary
[
0
]
==
'"'
&&
boundary
[
len
-
1
]
==
'"'
)
{
boundary
[
len
-
1
]
=
'\0'
;
boundary
++
;
}
boundary
+=
strlen
(
"boundary="
);
size_t
len
=
strlen
(
boundary
);
if
(
len
>
2
&&
boundary
[
0
]
==
'"'
&&
boundary
[
len
-
1
]
==
'"'
)
{
boundary
[
len
-
1
]
=
'\0'
;
boundary
++
;
}
p_sys
->
psz_separator
=
strdup
(
boundary
);
if
(
!
p_sys
->
psz_separator
)
{
...
...
modules/lua/libs/playlist.c
View file @
5dafc001
...
...
@@ -169,7 +169,7 @@ static int vlclua_playlist_move( lua_State * L )
if
(
p_target
->
i_children
!=
-
1
)
i_ret
=
playlist_TreeMove
(
p_playlist
,
p_item
,
p_target
,
0
);
else
i_ret
=
playlist_TreeMove
(
p_playlist
,
p_item
,
p_target
->
p_parent
,
p_target
->
i_id
-
p_target
->
p_parent
->
pp_children
[
0
]
->
i_id
+
1
);
i_ret
=
playlist_TreeMove
(
p_playlist
,
p_item
,
p_target
->
p_parent
,
p_target
->
i_id
-
p_target
->
p_parent
->
pp_children
[
0
]
->
i_id
+
1
);
PL_UNLOCK
;
return
vlclua_push_ret
(
L
,
i_ret
);
}
...
...
modules/lua/vlc.h
View file @
5dafc001
...
...
@@ -43,10 +43,11 @@
#include <lua.h>
/* Low level lua C API */
#include <lauxlib.h>
/* Higher level C API */
#include <lualib.h>
/* Lua libs */
#if LUA_VERSION_NUM >= 502
#
define lua_equal(L,idx1,idx2)
lua_compare(L,(idx1),(idx2),LUA_OPEQ)
#
define lua_objlen(L,idx)
lua_rawlen(L,idx)
#
define lua_strlen(L,idx)
lua_rawlen(L,idx)
#
define lua_equal(L,idx1,idx2)
lua_compare(L,(idx1),(idx2),LUA_OPEQ)
#
define lua_objlen(L,idx)
lua_rawlen(L,idx)
#
define lua_strlen(L,idx)
lua_rawlen(L,idx)
#endif
/*****************************************************************************
...
...
modules/misc/securetransport.c
View file @
5dafc001
...
...
@@ -47,8 +47,8 @@ static int OpenClient (vlc_tls_creds_t *);
static
void
CloseClient
(
vlc_tls_creds_t
*
);
#if !TARGET_OS_IPHONE
static
int
OpenServer
(
vlc_tls_creds_t
*
crd
,
const
char
*
cert
,
const
char
*
key
);
static
void
CloseServer
(
vlc_tls_creds_t
*
);
static
int
OpenServer
(
vlc_tls_creds_t
*
crd
,
const
char
*
cert
,
const
char
*
key
);
static
void
CloseServer
(
vlc_tls_creds_t
*
);
#endif
vlc_module_begin
()
...
...
modules/video_chroma/i420_rgb_mmx.h
View file @
5dafc001
...
...
@@ -50,11 +50,11 @@ static const uint64_t mmx_mask_fc = 0xfcfcfcfcfcfcfcfcULL; /* -- as %13 */
: \
: "r" (p_y), "r" (p_u), \
"r" (p_v), "r" (p_buffer), \
"m" (mmx_80w), "m" (mmx_10w), \
"m" (mmx_00ffw), "m" (mmx_Y_coeff), \
"m" (mmx_U_green), "m" (mmx_U_blue), \
"m" (mmx_V_red), "m" (mmx_V_green), \
"m" (mmx_mask_f8), "m" (mmx_mask_fc) \
"m" (mmx_80w), "m" (mmx_10w), \
"m" (mmx_00ffw), "m" (mmx_Y_coeff), \
"m" (mmx_U_green), "m" (mmx_U_blue), \
"m" (mmx_V_red), "m" (mmx_V_green), \
"m" (mmx_mask_f8), "m" (mmx_mask_fc) \
: "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7" ); \
} while(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