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_extention_system_count = GetWLE( &p_data[62] );
+ p_esp->i_payload_extension_system_count = GetWLE( &p_data[62] );
p_data += 64;
p_esp->ppsz_stream_name[i] = psz;
}
- for( i = 0; i < p_esp->i_payload_extention_system_count; i++ )
+ for( i = 0; i < p_esp->i_payload_extension_system_count; i++ )
{
/* Skip them */
int i_size = GetDWLE( &p_data[16 + 2] );
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 extention system count=%d",
- p_esp->i_payload_extention_system_count );
+ msg_Dbg( s, " - payload extension system count=%d",
+ p_esp->i_payload_extension_system_count );
#endif
return VLC_SUCCESS;
}
{ &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 Extention" },
+ { &asf_object_header_extension_guid, "Header Extension" },
{ &asf_object_metadata_guid, "Metadata" },
{ &asf_object_codec_list_guid, "Codec List" },
{ &asf_object_marker_guid, "Marker" },
int64_t i_average_time_per_frame;
int i_stream_name_count;
- int i_payload_extention_system_count;
+ int i_payload_extension_system_count;
int *pi_stream_name_language;
char **ppsz_stream_name;
i_type = TYPE_B4S;
}
- /* we had no luck looking at the file extention, so we have a look
+ /* we had no luck looking at the file extension, 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 */
ModPlug_Settings settings;
vlc_value_t val;
- /* We accept file based on extention match */
+ /* We accept file based on extension match */
if( strcasecmp( p_demux->psz_demux, "mod" ) )
{
if( ( ext = strchr( p_demux->psz_path, '.' ) ) == NULL ||
if( memcmp( p_peek, "MP+", 3 ) )
{
- /* for v4..6 we check extention file */
+ /* for v4..6 we check extension file */
const int i_version = (GetDWLE( p_peek ) >> 11)&0x3ff;
if( i_version < 4 || i_version > 6 )
{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_extention_guid =
+static const guid_t asf_object_header_extension_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}};
bo_addle_u32( &bo, p_sys->i_packet_size ); /* packet size max */
bo_addle_u32( &bo, p_sys->i_bitrate ); /* maxbitrate */
- /* header extention */
+ /* header extension */
if( i_header_ext_size )
{
- bo_add_guid ( &bo, &asf_object_header_extention_guid );
+ bo_add_guid ( &bo, &asf_object_header_extension_guid );
bo_addle_u64( &bo, i_header_ext_size );
bo_add_guid ( &bo, &asf_guid_reserved_1 );
bo_addle_u16( &bo, 6 );
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 extention flags
+ bits_write( &bits, 1, 0x00 ); // pes extension flags
bits_write( &bits, 8, i_header_size ); // header size -> pts and dts
/* write pts */
if( p_sys->b_mpeg2 )
{
- bits_write( &bits, 9, 0 ); // src extention
+ bits_write( &bits, 9, 0 ); // src extension
}
bits_write( &bits, 1, 1 ); // marker
{
int i_type = p_frag->p_buffer[4] >> 4;
- /* Extention start code */
+ /* Extension start code */
if( i_type == 0x01 )
{
#if 0
};
#endif
- /* sequence extention */
+ /* sequence extension */
if( p_sys->p_ext) block_Release( p_sys->p_ext );
p_sys->p_ext = block_Duplicate( p_frag );
}
else if( i_type == 0x08 )
{
- /* picture extention */
+ /* picture extension */
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;
/* ext -> muxer name */
if( psz_url && strrchr( psz_url, '.' ) )
{
- /* by extention */
+ /* by extension */
static struct { char *ext; char *mux; } exttomux[] =
{
{ "avi", "avi" },
char *psz_ext = strrchr( psz_url, '.' ) + 1;
int i;
- msg_Dbg( p_this, "extention is %s", psz_ext );
+ msg_Dbg( p_this, "extension is %s", psz_ext );
for( i = 0; exttomux[i].ext != NULL; i++ )
{
if( !strcasecmp( psz_ext, exttomux[i].ext ) )
break;
}
}
- msg_Dbg( p_this, "extention -> mux=%s", psz_mux_byext );
+ msg_Dbg( p_this, "extension -> mux=%s", psz_mux_byext );
}
/* We fix access/mux to valid couple */
if( psz_mux_byext )
{
msg_Warn( p_stream,
- "no access _and_ no muxer, extention gives file/%s",
+ "no access _and_ no muxer, extension gives file/%s",
psz_mux_byext );
psz_access = strdup("file");
psz_mux = strdup(psz_mux_byext);
}
else
{
- msg_Err( p_stream, "no mux specified or found by extention" );
+ msg_Err( p_stream, "no mux specified or found by extension" );
return VLC_EGENERIC;
}
}
/**
- * The possible extentions for subtitle files we support
+ * The possible extensions 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 */