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
39124c2d
Commit
39124c2d
authored
Mar 15, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./plugins/mpeg_system: fixed a parsing bug I introduced yesterday.
parent
0d972bf5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
plugins/mpeg_system/mpeg_es.c
plugins/mpeg_system/mpeg_es.c
+3
-3
plugins/mpeg_system/mpeg_ps.c
plugins/mpeg_system/mpeg_ps.c
+3
-3
plugins/mpeg_system/mpeg_ts.c
plugins/mpeg_system/mpeg_ts.c
+2
-2
No files found.
plugins/mpeg_system/mpeg_es.c
View file @
39124c2d
...
...
@@ -2,7 +2,7 @@
* mpeg_es.c : Elementary Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mpeg_es.c,v 1.
4 2002/03/01 00:33:18 massiot
Exp $
* $Id: mpeg_es.c,v 1.
5 2002/03/15 17:17:35 sam
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -113,7 +113,7 @@ static int ESInit( input_thread_t * p_input )
if
(
*
p_peek
||
*
(
p_peek
+
1
)
||
*
(
p_peek
+
2
)
!=
1
)
{
if
(
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"es"
,
3
)
)
if
(
*
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"es"
,
3
)
)
{
/* User forced */
intf_ErrMsg
(
"input error: this doesn't seem like an MPEG stream, continuing"
);
...
...
@@ -126,7 +126,7 @@ static int ESInit( input_thread_t * p_input )
}
else
if
(
*
(
p_peek
+
3
)
>
0xb9
)
{
if
(
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"es"
,
3
)
)
if
(
*
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"es"
,
3
)
)
{
/* User forced */
intf_ErrMsg
(
"input error: this seems to be a system stream (PS plug-in ?), but continuing"
);
...
...
plugins/mpeg_system/mpeg_ps.c
View file @
39124c2d
...
...
@@ -2,7 +2,7 @@
* mpeg_ps.c : Program Stream input module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: mpeg_ps.c,v 1.
6 2002/03/11 07:23:09 gbazin
Exp $
* $Id: mpeg_ps.c,v 1.
7 2002/03/15 17:17:35 sam
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -107,7 +107,7 @@ static int PSInit( input_thread_t * p_input )
if
(
*
p_peek
||
*
(
p_peek
+
1
)
||
*
(
p_peek
+
2
)
!=
1
)
{
if
(
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"ps"
,
3
)
)
if
(
*
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"ps"
,
3
)
)
{
/* User forced */
intf_ErrMsg
(
"input error: this doesn't seem like an MPEG stream, continuing"
);
...
...
@@ -120,7 +120,7 @@ static int PSInit( input_thread_t * p_input )
}
else
if
(
*
(
p_peek
+
3
)
<=
0xb9
)
{
if
(
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"ps"
,
3
)
)
if
(
*
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"ps"
,
3
)
)
{
/* User forced */
intf_ErrMsg
(
"input error: this seems to be an elementary stream (ES plug-in ?),"
);
...
...
plugins/mpeg_system/mpeg_ts.c
View file @
39124c2d
...
...
@@ -2,7 +2,7 @@
* mpeg_ts.c : Transport Stream input module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: mpeg_ts.c,v 1.
5 2002/03/04 23:56:37 massiot
Exp $
* $Id: mpeg_ts.c,v 1.
6 2002/03/15 17:17:35 sam
Exp $
*
* Authors: Henri Fallon <henri@via.ecp.fr>
*
...
...
@@ -107,7 +107,7 @@ static int TSInit( input_thread_t * p_input )
if
(
*
p_peek
!=
TS_SYNC_CODE
)
{
if
(
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"ts"
,
3
)
)
if
(
*
p_input
->
psz_demux
&&
strncmp
(
p_input
->
psz_demux
,
"ts"
,
3
)
)
{
/* User forced */
intf_ErrMsg
(
"input error: this doesn't seem like a TS stream, continuing"
);
...
...
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