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
af5759ac
Commit
af5759ac
authored
Oct 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input fixes
parent
fcef2e3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/input/demux.c
src/input/demux.c
+4
-4
src/input/item.c
src/input/item.c
+1
-1
No files found.
src/input/demux.c
View file @
af5759ac
...
...
@@ -38,7 +38,7 @@ demux_t *__demux2_New( vlc_object_t *p_obj,
stream_t
*
s
,
es_out_t
*
out
,
vlc_bool_t
b_quick
)
{
demux_t
*
p_demux
=
vlc_object_create
(
p_obj
,
VLC_OBJECT_DEMUX
);
char
*
psz_module
;
c
onst
c
har
*
psz_module
;
if
(
p_demux
==
NULL
)
return
NULL
;
...
...
@@ -80,7 +80,7 @@ demux_t *__demux2_New( vlc_object_t *p_obj,
* anyway
* - wav can't be added 'cause of a52 and dts in them as raw audio
*/
static
struct
{
c
har
*
ext
;
char
*
demux
;
}
exttodemux
[]
=
static
struct
{
c
onst
char
*
ext
;
const
char
*
demux
;
}
exttodemux
[]
=
{
{
"aac"
,
"aac"
},
{
"aiff"
,
"aiff"
},
...
...
@@ -102,7 +102,7 @@ demux_t *__demux2_New( vlc_object_t *p_obj,
{
NULL
,
NULL
},
};
/* Here, we don't mind if it does not work, it must be quick */
static
struct
{
c
har
*
ext
;
char
*
demux
;
}
exttodemux_quick
[]
=
static
struct
{
c
onst
char
*
ext
;
const
char
*
demux
;
}
exttodemux_quick
[]
=
{
{
"mp3"
,
"mpga"
},
{
"ogg"
,
"ogg"
},
...
...
@@ -110,7 +110,7 @@ demux_t *__demux2_New( vlc_object_t *p_obj,
{
NULL
,
NULL
}
};
char
*
psz_ext
=
strrchr
(
p_demux
->
psz_path
,
'.'
)
+
1
;
c
onst
c
har
*
psz_ext
=
strrchr
(
p_demux
->
psz_path
,
'.'
)
+
1
;
int
i
;
if
(
!
b_quick
)
...
...
src/input/item.c
View file @
af5759ac
...
...
@@ -263,7 +263,7 @@ input_item_t *input_ItemNewWithType( vlc_object_t *p_obj, const char *psz_uri,
static
void
GuessType
(
input_item_t
*
p_item
)
{
int
i
;
static
struct
{
char
*
psz_search
;
int
i_type
;
}
types_array
[]
=
static
struct
{
c
onst
c
har
*
psz_search
;
int
i_type
;
}
types_array
[]
=
{
{
"http"
,
ITEM_TYPE_NET
},
{
"dvd"
,
ITEM_TYPE_DISC
},
...
...
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