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
4af142c4
Commit
4af142c4
authored
Sep 26, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed my A/52 fix.
parent
fcd50b7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
src/input/mpeg_system.c
src/input/mpeg_system.c
+10
-7
No files found.
src/input/mpeg_system.c
View file @
4af142c4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* mpeg_system.c: TS, PS and PES management
* mpeg_system.c: TS, PS and PES management
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* Copyright (C) 1998-2001 VideoLAN
* $Id: mpeg_system.c,v 1.97.2.
2 2002/09/25 23:11:54
massiot Exp $
* $Id: mpeg_system.c,v 1.97.2.
3 2002/09/26 22:43: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>
...
@@ -333,15 +333,18 @@ void input_ParsePES( input_thread_t * p_input, es_descriptor_t * p_es )
...
@@ -333,15 +333,18 @@ void input_ParsePES( input_thread_t * p_input, es_descriptor_t * p_es )
break
;
break
;
}
}
if
(
p_es
->
i_type
==
A52B_AUDIO_ES
)
if
(
p_es
->
i_type
==
A52B_AUDIO_ES
||
p_es
->
i_type
==
AC3_AUDIO_ES
)
{
{
/* 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_type
==
LPCMB_AUDIO_ES
||
p_es
->
i_type
==
DVDB_SPU_ES
)
if
(
p_es
->
i_type
==
A52B_AUDIO_ES
||
p_es
->
i_type
==
LPCMB_AUDIO_ES
||
p_es
->
i_type
==
DVDB_SPU_ES
)
{
{
/*
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