Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
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
Show 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)*/
};
/**
...
...
@@ -326,4 +326,3 @@ VLC_EXPORT( char **, subtitles_Detect, ( input_thread_t *, char* pa
*/
#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