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
dca61730
Commit
dca61730
authored
Sep 26, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed my A/52 fix.
parent
7a58ef70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
modules/demux/mpeg/system.c
modules/demux/mpeg/system.c
+12
-9
No files found.
modules/demux/mpeg/system.c
View file @
dca61730
...
@@ -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.
2 2002/08/30 22:22:2
4 massiot Exp $
* $Id: system.c,v 1.
3 2002/09/26 22:56:1
4 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>
...
@@ -364,17 +364,20 @@ static void ParsePES( input_thread_t * p_input, es_descriptor_t * p_es )
...
@@ -364,17 +364,20 @@ static void ParsePES( input_thread_t * p_input, es_descriptor_t * p_es )
}
}
/* Welcome to the kludge area ! --Meuuh */
/* Welcome to the kludge area ! --Meuuh */
if
(
p_es
->
i_fourcc
==
VLC_FOURCC
(
'a'
,
'5'
,
'2'
,
'b'
)
)
if
(
p_es
->
i_fourcc
==
VLC_FOURCC
(
'a'
,
'5'
,
'2'
,
' '
)
||
p_es
->
i_fourcc
==
VLC_FOURCC
(
'a'
,
'5'
,
'2'
,
'b'
)
)
{
{
/* With A/52 audio, we need to skip the first
4
bytes */
/* With A/52 audio, we need to skip the first
3
bytes */
i_pes_header_size
+=
4
;
i_pes_header_size
+=
3
;
}
}
else
if
(
p_es
->
i_fourcc
==
VLC_FOURCC
(
'l'
,
'p'
,
'c'
,
'b'
)
if
(
p_es
->
i_fourcc
==
VLC_FOURCC
(
'a'
,
'5'
,
'2'
,
'b'
)
||
p_es
->
i_fourcc
==
VLC_FOURCC
(
'l'
,
'p'
,
'c'
,
'b'
)
||
p_es
->
i_fourcc
==
VLC_FOURCC
(
's'
,
'p'
,
'u'
,
'b'
)
||
p_es
->
i_fourcc
==
VLC_FOURCC
(
's'
,
'p'
,
'u'
,
'b'
)
||
p_es
->
i_fourcc
==
VLC_FOURCC
(
'd'
,
't'
,
's'
,
'b'
)
||
p_es
->
i_fourcc
==
VLC_FOURCC
(
'd'
,
't'
,
's'
,
'b'
)
||
p_es
->
i_fourcc
==
VLC_FOURCC
(
's'
,
'd'
,
'd'
,
'b'
)
)
||
p_es
->
i_fourcc
==
VLC_FOURCC
(
's'
,
'd'
,
'd'
,
'b'
)
)
{
{
/*
With others, we need to skip the first byte
*/
/*
stream_private_id
*/
i_pes_header_size
+=
1
;
i_pes_header_size
+=
1
;
}
}
...
...
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