Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
89136d01
Commit
89136d01
authored
Nov 06, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a few harmless const
parent
c1cf01a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
include/vlc_demux.h
include/vlc_demux.h
+1
-1
include/vlc_stream.h
include/vlc_stream.h
+1
-1
include/vlc_symbols.h
include/vlc_symbols.h
+2
-2
src/input/demux.c
src/input/demux.c
+3
-2
No files found.
include/vlc_demux.h
View file @
89136d01
...
...
@@ -110,7 +110,7 @@ enum demux_query_e
/* stream_t *s could be null and then it mean a access+demux in one */
#define demux2_New( a, b, c, d, e, f,g ) __demux2_New(VLC_OBJECT(a),b,c,d,e,f,g)
VLC_EXPORT
(
demux_t
*
,
__demux2_New
,
(
vlc_object_t
*
p_obj
,
c
har
*
psz_access
,
char
*
psz_demux
,
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
vlc_bool_t
)
);
VLC_EXPORT
(
demux_t
*
,
__demux2_New
,
(
vlc_object_t
*
p_obj
,
c
onst
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
vlc_bool_t
)
);
VLC_EXPORT
(
void
,
demux2_Delete
,
(
demux_t
*
)
);
VLC_EXPORT
(
int
,
demux2_vaControlHelper
,
(
stream_t
*
,
int64_t
i_start
,
int64_t
i_end
,
int
i_bitrate
,
int
i_align
,
int
i_query
,
va_list
args
)
);
...
...
include/vlc_stream.h
View file @
89136d01
...
...
@@ -203,7 +203,7 @@ VLC_EXPORT( char *, stream_ReadLine, ( stream_t * ) );
* Create a special stream and a demuxer, this allows chaining demuxers
*/
#define stream_DemuxNew( a, b, c ) __stream_DemuxNew( VLC_OBJECT(a), b, c)
VLC_EXPORT
(
stream_t
*
,
__stream_DemuxNew
,
(
vlc_object_t
*
p_obj
,
char
*
psz_demux
,
es_out_t
*
out
)
);
VLC_EXPORT
(
stream_t
*
,
__stream_DemuxNew
,
(
vlc_object_t
*
p_obj
,
c
onst
c
har
*
psz_demux
,
es_out_t
*
out
)
);
VLC_EXPORT
(
void
,
stream_DemuxSend
,
(
stream_t
*
s
,
block_t
*
p_block
)
);
VLC_EXPORT
(
void
,
stream_DemuxDelete
,(
stream_t
*
s
)
);
...
...
include/vlc_symbols.h
View file @
89136d01
...
...
@@ -191,7 +191,7 @@ struct module_symbols_t
size_t
(
*
vlc_iconv_inner
)
(
vlc_iconv_t
,
const
char
**
,
size_t
*
,
char
**
,
size_t
*
);
int
(
*
vlc_iconv_close_inner
)
(
vlc_iconv_t
);
char
*
(
*
vlc_dgettext_inner
)
(
const
char
*
package
,
const
char
*
msgid
);
demux_t
*
(
*
__demux2_New_inner
)
(
vlc_object_t
*
p_obj
,
c
har
*
psz_access
,
char
*
psz_demux
,
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
vlc_bool_t
);
demux_t
*
(
*
__demux2_New_inner
)
(
vlc_object_t
*
p_obj
,
c
onst
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
vlc_bool_t
);
void
(
*
demux2_Delete_inner
)
(
demux_t
*
);
int
(
*
demux2_vaControlHelper_inner
)
(
stream_t
*
,
int64_t
i_start
,
int64_t
i_end
,
int
i_bitrate
,
int
i_align
,
int
i_query
,
va_list
args
);
char
const
*
(
*
vlc_error_inner
)
(
int
);
...
...
@@ -326,7 +326,7 @@ struct module_symbols_t
subpicture_t
*
(
*
spu_SortSubpictures_inner
)
(
spu_t
*
,
mtime_t
,
vlc_bool_t
);
void
(
*
spu_RenderSubpictures_inner
)
(
spu_t
*
,
video_format_t
*
,
picture_t
*
,
picture_t
*
,
subpicture_t
*
,
int
,
int
);
char
*
(
*
stream_ReadLine_inner
)
(
stream_t
*
);
stream_t
*
(
*
__stream_DemuxNew_inner
)
(
vlc_object_t
*
p_obj
,
char
*
psz_demux
,
es_out_t
*
out
);
stream_t
*
(
*
__stream_DemuxNew_inner
)
(
vlc_object_t
*
p_obj
,
c
onst
c
har
*
psz_demux
,
es_out_t
*
out
);
void
(
*
stream_DemuxSend_inner
)
(
stream_t
*
s
,
block_t
*
p_block
);
void
(
*
stream_DemuxDelete_inner
)
(
stream_t
*
s
);
stream_t
*
(
*
__stream_MemoryNew_inner
)
(
vlc_object_t
*
p_obj
,
uint8_t
*
p_buffer
,
int64_t
i_size
,
vlc_bool_t
i_preserve_memory
);
...
...
src/input/demux.c
View file @
89136d01
...
...
@@ -34,7 +34,8 @@ static void SkipID3Tag( demux_t * );
* if s is NULL then load a access_demux
*****************************************************************************/
demux_t
*
__demux2_New
(
vlc_object_t
*
p_obj
,
char
*
psz_access
,
char
*
psz_demux
,
char
*
psz_path
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
vlc_bool_t
b_quick
)
{
demux_t
*
p_demux
=
vlc_object_create
(
p_obj
,
VLC_OBJECT_DEMUX
);
...
...
@@ -301,7 +302,7 @@ static int DStreamControl( stream_t *, int i_query, va_list );
static
int
DStreamThread
(
stream_t
*
);
stream_t
*
__stream_DemuxNew
(
vlc_object_t
*
p_obj
,
char
*
psz_demux
,
stream_t
*
__stream_DemuxNew
(
vlc_object_t
*
p_obj
,
c
onst
c
har
*
psz_demux
,
es_out_t
*
out
)
{
/* We create a stream reader, and launch a thread */
...
...
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