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
bf448d31
Commit
bf448d31
authored
Feb 04, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/mpeg/*: Fixed an uninitialized variable with TS streams
(thanks gibalou !).
parent
9a5db9e2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
modules/demux/mpeg/system.c
modules/demux/mpeg/system.c
+2
-2
modules/demux/mpeg/ts.c
modules/demux/mpeg/ts.c
+7
-1
No files found.
modules/demux/mpeg/system.c
View file @
bf448d31
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* system.c: helper module for TS, PS and PES management
* system.c: helper module for TS, PS and PES management
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* Copyright (C) 1998-2002 VideoLAN
* $Id: system.c,v 1.
8 2002/12/06 16:34:07 sam
Exp $
* $Id: system.c,v 1.
9 2003/02/04 11:07:45 massiot
Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr>
...
@@ -187,7 +187,7 @@ static void ParsePES( input_thread_t * p_input, es_descriptor_t * p_es )
...
@@ -187,7 +187,7 @@ static void ParsePES( input_thread_t * p_input, es_descriptor_t * p_es )
msg_Warn
(
p_input
,
"packet corrupted, PES sizes do not match"
);
msg_Warn
(
p_input
,
"packet corrupted, PES sizes do not match"
);
}
}
switch
(
p_
es
->
i_stream_id
)
switch
(
p_
header
[
3
]
)
{
{
case
0xBC
:
/* Program stream map */
case
0xBC
:
/* Program stream map */
case
0xBE
:
/* Padding */
case
0xBE
:
/* Padding */
...
...
modules/demux/mpeg/ts.c
View file @
bf448d31
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* mpeg_ts.c : Transport Stream input module for vlc
* mpeg_ts.c : Transport Stream input module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* Copyright (C) 2000-2001 VideoLAN
* $Id: ts.c,v 1.1
4 2003/01/08 16:40:29 fenrir
Exp $
* $Id: ts.c,v 1.1
5 2003/02/04 11:07:45 massiot
Exp $
*
*
* Authors: Henri Fallon <henri@via.ecp.fr>
* Authors: Henri Fallon <henri@via.ecp.fr>
* Johan Bilien <jobi@via.ecp.fr>
* Johan Bilien <jobi@via.ecp.fr>
...
@@ -631,11 +631,17 @@ static void TSDecodePMT( input_thread_t * p_input, es_descriptor_t * p_es )
...
@@ -631,11 +631,17 @@ static void TSDecodePMT( input_thread_t * p_input, es_descriptor_t * p_es )
{
{
case
MPEG1_VIDEO_ES
:
case
MPEG1_VIDEO_ES
:
case
MPEG2_VIDEO_ES
:
case
MPEG2_VIDEO_ES
:
/* This isn't real, but we don't actually use
* it. */
p_new_es
->
i_stream_id
=
0xE0
;
p_new_es
->
i_fourcc
=
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
);
p_new_es
->
i_fourcc
=
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
);
p_new_es
->
i_cat
=
VIDEO_ES
;
p_new_es
->
i_cat
=
VIDEO_ES
;
break
;
break
;
case
MPEG1_AUDIO_ES
:
case
MPEG1_AUDIO_ES
:
case
MPEG2_AUDIO_ES
:
case
MPEG2_AUDIO_ES
:
/* This isn't real, but we don't actually use
* it. */
p_new_es
->
i_stream_id
=
0xC0
;
p_new_es
->
i_fourcc
=
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'a'
);
p_new_es
->
i_fourcc
=
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'a'
);
p_new_es
->
i_cat
=
AUDIO_ES
;
p_new_es
->
i_cat
=
AUDIO_ES
;
break
;
break
;
...
...
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