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
386b36fe
Commit
386b36fe
authored
Apr 06, 2006
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ALL: extention -> extension
parent
1017d246
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
23 additions
and
23 deletions
+23
-23
modules/demux/asf/libasf.c
modules/demux/asf/libasf.c
+5
-5
modules/demux/asf/libasf.h
modules/demux/asf/libasf.h
+1
-1
modules/demux/m3u.c
modules/demux/m3u.c
+1
-1
modules/demux/mod.c
modules/demux/mod.c
+1
-1
modules/demux/mpc.c
modules/demux/mpc.c
+1
-1
modules/mux/asf.c
modules/mux/asf.c
+3
-3
modules/mux/mpeg/pes.c
modules/mux/mpeg/pes.c
+1
-1
modules/mux/mpeg/ps.c
modules/mux/mpeg/ps.c
+1
-1
modules/packetizer/mpegvideo.c
modules/packetizer/mpegvideo.c
+3
-3
modules/stream_out/standard.c
modules/stream_out/standard.c
+5
-5
src/input/subtitles.c
src/input/subtitles.c
+1
-1
No files found.
modules/demux/asf/libasf.c
View file @
386b36fe
...
...
@@ -866,7 +866,7 @@ static int ASF_ReadObject_extended_stream_properties( stream_t *s,
p_esp
->
i_language_index
=
GetWLE
(
&
p_data
[
50
]
);
p_esp
->
i_average_time_per_frame
=
GetQWLE
(
&
p_data
[
52
]
);
p_esp
->
i_stream_name_count
=
GetWLE
(
&
p_data
[
60
]
);
p_esp
->
i_payload_exten
t
ion_system_count
=
GetWLE
(
&
p_data
[
62
]
);
p_esp
->
i_payload_exten
s
ion_system_count
=
GetWLE
(
&
p_data
[
62
]
);
p_data
+=
64
;
...
...
@@ -895,7 +895,7 @@ static int ASF_ReadObject_extended_stream_properties( stream_t *s,
p_esp
->
ppsz_stream_name
[
i
]
=
psz
;
}
for
(
i
=
0
;
i
<
p_esp
->
i_payload_exten
t
ion_system_count
;
i
++
)
for
(
i
=
0
;
i
<
p_esp
->
i_payload_exten
s
ion_system_count
;
i
++
)
{
/* Skip them */
int
i_size
=
GetDWLE
(
&
p_data
[
16
+
2
]
);
...
...
@@ -946,8 +946,8 @@ static int ASF_ReadObject_extended_stream_properties( stream_t *s,
msg_Dbg
(
s
,
" - lang id=%d name=%s"
,
p_esp
->
pi_stream_name_language
[
i
],
p_esp
->
ppsz_stream_name
[
i
]
);
msg_Dbg
(
s
,
" - payload exten
t
ion system count=%d"
,
p_esp
->
i_payload_exten
t
ion_system_count
);
msg_Dbg
(
s
,
" - payload exten
s
ion system count=%d"
,
p_esp
->
i_payload_exten
s
ion_system_count
);
#endif
return
VLC_SUCCESS
;
}
...
...
@@ -1371,7 +1371,7 @@ static const struct
{
&
asf_object_file_properties_guid
,
"File Properties"
},
{
&
asf_object_stream_properties_guid
,
"Stream Properties"
},
{
&
asf_object_content_description_guid
,
"Content Description"
},
{
&
asf_object_header_extension_guid
,
"Header Exten
t
ion"
},
{
&
asf_object_header_extension_guid
,
"Header Exten
s
ion"
},
{
&
asf_object_metadata_guid
,
"Metadata"
},
{
&
asf_object_codec_list_guid
,
"Codec List"
},
{
&
asf_object_marker_guid
,
"Marker"
},
...
...
modules/demux/asf/libasf.h
View file @
386b36fe
...
...
@@ -364,7 +364,7 @@ typedef struct
int64_t
i_average_time_per_frame
;
int
i_stream_name_count
;
int
i_payload_exten
t
ion_system_count
;
int
i_payload_exten
s
ion_system_count
;
int
*
pi_stream_name_language
;
char
**
ppsz_stream_name
;
...
...
modules/demux/m3u.c
View file @
386b36fe
...
...
@@ -119,7 +119,7 @@ static int Activate( vlc_object_t * p_this )
i_type
=
TYPE_B4S
;
}
/* we had no luck looking at the file exten
t
ion, so we have a look
/* we had no luck looking at the file exten
s
ion, so we have a look
* at the content. This is useful for .asp, .php and similar files
* that are actually html. Also useful for some asx files that have
* another extension */
...
...
modules/demux/mod.c
View file @
386b36fe
...
...
@@ -135,7 +135,7 @@ static int Open( vlc_object_t *p_this )
ModPlug_Settings
settings
;
vlc_value_t
val
;
/* We accept file based on exten
t
ion match */
/* We accept file based on exten
s
ion match */
if
(
strcasecmp
(
p_demux
->
psz_demux
,
"mod"
)
)
{
if
(
(
ext
=
strchr
(
p_demux
->
psz_path
,
'.'
)
)
==
NULL
||
...
...
modules/demux/mpc.c
View file @
386b36fe
...
...
@@ -113,7 +113,7 @@ static int Open( vlc_object_t * p_this )
if
(
memcmp
(
p_peek
,
"MP+"
,
3
)
)
{
/* for v4..6 we check exten
t
ion file */
/* for v4..6 we check exten
s
ion file */
const
int
i_version
=
(
GetDWLE
(
p_peek
)
>>
11
)
&
0x3ff
;
if
(
i_version
<
4
||
i_version
>
6
)
...
...
modules/mux/asf.c
View file @
386b36fe
...
...
@@ -761,7 +761,7 @@ static const guid_t asf_object_file_properties_guid =
{
0x8cabdca1
,
0xa947
,
0x11cf
,
{
0x8e
,
0xe4
,
0x00
,
0xC0
,
0x0C
,
0x20
,
0x53
,
0x65
}};
static
const
guid_t
asf_object_stream_properties_guid
=
{
0xB7DC0791
,
0xA9B7
,
0x11CF
,
{
0x8E
,
0xE6
,
0x00
,
0xC0
,
0x0C
,
0x20
,
0x53
,
0x65
}};
static
const
guid_t
asf_object_header_exten
t
ion_guid
=
static
const
guid_t
asf_object_header_exten
s
ion_guid
=
{
0x5FBF03B5
,
0xA92E
,
0x11CF
,
{
0x8E
,
0xE3
,
0x00
,
0xC0
,
0x0C
,
0x20
,
0x53
,
0x65
}};
static
const
guid_t
asf_object_stream_type_audio
=
{
0xF8699E40
,
0x5B4D
,
0x11CF
,
{
0xA8
,
0xFD
,
0x00
,
0x80
,
0x5F
,
0x5C
,
0x44
,
0x2B
}};
...
...
@@ -893,10 +893,10 @@ static block_t *asf_header_create( sout_mux_t *p_mux, vlc_bool_t b_broadcast )
bo_addle_u32
(
&
bo
,
p_sys
->
i_packet_size
);
/* packet size max */
bo_addle_u32
(
&
bo
,
p_sys
->
i_bitrate
);
/* maxbitrate */
/* header exten
t
ion */
/* header exten
s
ion */
if
(
i_header_ext_size
)
{
bo_add_guid
(
&
bo
,
&
asf_object_header_exten
t
ion_guid
);
bo_add_guid
(
&
bo
,
&
asf_object_header_exten
s
ion_guid
);
bo_addle_u64
(
&
bo
,
i_header_ext_size
);
bo_add_guid
(
&
bo
,
&
asf_guid_reserved_1
);
bo_addle_u16
(
&
bo
,
6
);
...
...
modules/mux/mpeg/pes.c
View file @
386b36fe
...
...
@@ -124,7 +124,7 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts,
bits_write
(
&
bits
,
1
,
0x00
);
// dsm trick mode flag
bits_write
(
&
bits
,
1
,
0x00
);
// additional copy info flag
bits_write
(
&
bits
,
1
,
0x00
);
// pes crc flag
bits_write
(
&
bits
,
1
,
0x00
);
// pes exten
t
ion flags
bits_write
(
&
bits
,
1
,
0x00
);
// pes exten
s
ion flags
bits_write
(
&
bits
,
8
,
i_header_size
);
// header size -> pts and dts
/* write pts */
...
...
modules/mux/mpeg/ps.c
View file @
386b36fe
...
...
@@ -606,7 +606,7 @@ static void MuxWritePackHeader( sout_mux_t *p_mux, block_t **p_buf,
if
(
p_sys
->
b_mpeg2
)
{
bits_write
(
&
bits
,
9
,
0
);
// src exten
t
ion
bits_write
(
&
bits
,
9
,
0
);
// src exten
s
ion
}
bits_write
(
&
bits
,
1
,
1
);
// marker
...
...
modules/packetizer/mpegvideo.c
View file @
386b36fe
...
...
@@ -564,7 +564,7 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
{
int
i_type
=
p_frag
->
p_buffer
[
4
]
>>
4
;
/* Exten
t
ion start code */
/* Exten
s
ion start code */
if
(
i_type
==
0x01
)
{
#if 0
...
...
@@ -576,7 +576,7 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
};
#endif
/* sequence exten
t
ion */
/* sequence exten
s
ion */
if
(
p_sys
->
p_ext
)
block_Release
(
p_sys
->
p_ext
);
p_sys
->
p_ext
=
block_Duplicate
(
p_frag
);
...
...
@@ -604,7 +604,7 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
}
else
if
(
i_type
==
0x08
)
{
/* picture exten
t
ion */
/* picture exten
s
ion */
p_sys
->
i_picture_structure
=
p_frag
->
p_buffer
[
6
]
&
0x03
;
p_sys
->
i_top_field_first
=
p_frag
->
p_buffer
[
7
]
>>
7
;
p_sys
->
i_repeat_first_field
=
(
p_frag
->
p_buffer
[
7
]
>>
1
)
&
0x01
;
...
...
modules/stream_out/standard.c
View file @
386b36fe
...
...
@@ -154,7 +154,7 @@ static int Open( vlc_object_t *p_this )
/* ext -> muxer name */
if
(
psz_url
&&
strrchr
(
psz_url
,
'.'
)
)
{
/* by exten
t
ion */
/* by exten
s
ion */
static
struct
{
char
*
ext
;
char
*
mux
;
}
exttomux
[]
=
{
{
"avi"
,
"avi"
},
...
...
@@ -178,7 +178,7 @@ static int Open( vlc_object_t *p_this )
char
*
psz_ext
=
strrchr
(
psz_url
,
'.'
)
+
1
;
int
i
;
msg_Dbg
(
p_this
,
"exten
t
ion is %s"
,
psz_ext
);
msg_Dbg
(
p_this
,
"exten
s
ion is %s"
,
psz_ext
);
for
(
i
=
0
;
exttomux
[
i
].
ext
!=
NULL
;
i
++
)
{
if
(
!
strcasecmp
(
psz_ext
,
exttomux
[
i
].
ext
)
)
...
...
@@ -187,7 +187,7 @@ static int Open( vlc_object_t *p_this )
break
;
}
}
msg_Dbg
(
p_this
,
"exten
t
ion -> mux=%s"
,
psz_mux_byext
);
msg_Dbg
(
p_this
,
"exten
s
ion -> mux=%s"
,
psz_mux_byext
);
}
/* We fix access/mux to valid couple */
...
...
@@ -197,7 +197,7 @@ static int Open( vlc_object_t *p_this )
if
(
psz_mux_byext
)
{
msg_Warn
(
p_stream
,
"no access _and_ no muxer, exten
t
ion gives file/%s"
,
"no access _and_ no muxer, exten
s
ion gives file/%s"
,
psz_mux_byext
);
psz_access
=
strdup
(
"file"
);
psz_mux
=
strdup
(
psz_mux_byext
);
...
...
@@ -227,7 +227,7 @@ static int Open( vlc_object_t *p_this )
}
else
{
msg_Err
(
p_stream
,
"no mux specified or found by exten
t
ion"
);
msg_Err
(
p_stream
,
"no mux specified or found by exten
s
ion"
);
return
VLC_EGENERIC
;
}
}
...
...
src/input/subtitles.c
View file @
386b36fe
...
...
@@ -62,7 +62,7 @@
/**
* The possible exten
t
ions for subtitle files we support
* The possible exten
s
ions for subtitle files we support
*/
static
const
char
*
sub_exts
[]
=
{
"utf"
,
"utf8"
,
"utf-8"
,
"sub"
,
"srt"
,
"smi"
,
"txt"
,
"ssa"
,
"idx"
,
NULL
};
/* extensions from unsupported types */
...
...
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