Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d09106d2
Commit
d09106d2
authored
Feb 14, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ALL: small portability fixes.
parent
c3d7c3a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
include/ninput.h
include/ninput.h
+8
-9
modules/demux/ts.c
modules/demux/ts.c
+2
-2
modules/demux/util/id3tag.c
modules/demux/util/id3tag.c
+3
-2
No files found.
include/ninput.h
View file @
d09106d2
...
...
@@ -2,7 +2,7 @@
* ninput.h
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: ninput.h,v 1.2
7 2004/01/31 05:24:55 fenrir
Exp $
* $Id: ninput.h,v 1.2
8 2004/02/14 01:53:17 gbazin
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -54,7 +54,7 @@ enum es_out_query_e
/* XXX XXX XXX Don't use them YET !!! */
ES_OUT_SET_PCR
,
/* arg1=int64_t i_pcr(microsecond!) (using default group 0)*/
ES_OUT_SET_GROUP_PCR
,
/* arg1= int i_group, arg2=int64_t i_pcr(microsecond!)*/
ES_OUT_RESET_PCR
,
/* no arg */
ES_OUT_RESET_PCR
/* no arg */
};
struct
es_out_t
...
...
@@ -118,7 +118,7 @@ enum stream_query_e
STREAM_GET_SIZE
,
/**< arg1= int64_t * res=cannot fail (0 if no sense)*/
STREAM_GET_MTU
,
/**< arg1= int * res=cannot fail (0 if no sense)*/
STREAM_GET_MTU
/**< arg1= int * res=cannot fail (0 if no sense)*/
};
/**
...
...
@@ -133,7 +133,7 @@ struct stream_t
int
(
*
pf_peek
)
(
stream_t
*
,
uint8_t
**
pp_peek
,
int
i_peek
);
int
(
*
pf_control
)(
stream_t
*
,
int
i_query
,
va_list
);
stream_sys_t
*
p_sys
;
stream_sys_t
*
p_sys
;
};
/**
...
...
@@ -286,10 +286,10 @@ enum demux_query_e
/* Demux */
VLC_EXPORT
(
int
,
demux_vaControl
,
(
input_thread_t
*
,
int
i_query
,
va_list
)
);
VLC_EXPORT
(
int
,
demux_Control
,
(
input_thread_t
*
,
int
i_query
,
...
)
);
VLC_EXPORT
(
int
,
demux_vaControl
,
(
input_thread_t
*
,
int
i_query
,
va_list
)
);
VLC_EXPORT
(
int
,
demux_Control
,
(
input_thread_t
*
,
int
i_query
,
...
)
);
VLC_EXPORT
(
int
,
demux_vaControlDefault
,
(
input_thread_t
*
,
int
i_query
,
va_list
)
);
VLC_EXPORT
(
int
,
demux_vaControlDefault
,
(
input_thread_t
*
,
int
i_query
,
va_list
)
);
/* New demux arch: don't touch that */
...
...
@@ -319,11 +319,10 @@ static inline int demux2_Control( demux_t *p_demux, int i_query, ... )
/* Subtitles */
VLC_EXPORT
(
char
**
,
subtitles_Detect
,
(
input_thread_t
*
,
char
*
path
,
char
*
fname
)
);
VLC_EXPORT
(
char
**
,
subtitles_Detect
,
(
input_thread_t
*
,
char
*
path
,
char
*
fname
)
);
/**
* @}
*/
#endif
modules/demux/ts.c
View file @
d09106d2
...
...
@@ -2,7 +2,7 @@
* ts.c: Transport Stream input module for VLC.
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id: ts.c,v 1.1
0 2004/02/01 04:50:13 fenrir
Exp $
* $Id: ts.c,v 1.1
1 2004/02/14 01:53:17 gbazin
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -932,7 +932,7 @@ static void ParsePES ( demux_t *p_demux, ts_pid_t *pid )
{
msg_Warn
(
p_demux
,
"empty pes"
);
}
}
;
}
static
vlc_bool_t
GatherPES
(
demux_t
*
p_demux
,
ts_pid_t
*
pid
,
block_t
*
p_bk
)
{
...
...
modules/demux/util/id3tag.c
View file @
d09106d2
...
...
@@ -2,7 +2,7 @@
* id3tag.c: id3 tag parser/skipper based on libid3tag
*****************************************************************************
* Copyright (C) 2002-2004 VideoLAN
* $Id: id3tag.c,v 1.2
0 2004/01/29 17:51:07 zorglub
Exp $
* $Id: id3tag.c,v 1.2
1 2004/02/14 01:53:17 gbazin
Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
...
...
@@ -85,6 +85,7 @@ static void ParseID3Tag( input_thread_t *p_input, uint8_t *p_data, int i_size )
while
(
(
p_frame
=
id3_tag_findframe
(
p_id3_tag
,
"T"
,
i
)
)
)
{
int
i_strings
;
playlist_item_t
*
p_item
=
playlist_ItemGetByPos
(
p_playlist
,
-
1
);
if
(
!
p_item
)
{
...
...
@@ -94,7 +95,7 @@ static void ParseID3Tag( input_thread_t *p_input, uint8_t *p_data, int i_size )
vlc_mutex_lock
(
&
p_item
->
lock
);
i
nt
i
_strings
=
id3_field_getnstrings
(
&
p_frame
->
fields
[
1
]
);
i_strings
=
id3_field_getnstrings
(
&
p_frame
->
fields
[
1
]
);
while
(
i_strings
>
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