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
7d6f6984
Commit
7d6f6984
authored
Jan 23, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug introduced yesterday.
parent
ef1efb18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
plugins/ac3_adec/ac3_adec.c
plugins/ac3_adec/ac3_adec.c
+8
-3
No files found.
plugins/ac3_adec/ac3_adec.c
View file @
7d6f6984
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* ac3_adec.c: ac3 decoder module main file
* ac3_adec.c: ac3 decoder module main file
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: ac3_adec.c,v 1.1
6 2002/01/22 23:14:26
massiot Exp $
* $Id: ac3_adec.c,v 1.1
7 2002/01/23 23:14:59
massiot Exp $
*
*
* Authors: Michel Lespinasse <walken@zoy.org>
* Authors: Michel Lespinasse <walken@zoy.org>
*
*
...
@@ -254,8 +254,13 @@ static int decoder_Run ( decoder_config_t * p_config )
...
@@ -254,8 +254,13 @@ static int decoder_Run ( decoder_config_t * p_config )
int
i_sync_ptr
;
int
i_sync_ptr
;
#define p_bit_stream (&p_ac3thread->ac3_decoder->bit_stream)
#define p_bit_stream (&p_ac3thread->ac3_decoder->bit_stream)
/* Go to the next data packet and jump to sync_ptr */
/* Go to the next PES packet and jump to sync_ptr */
do
{
BitstreamNextDataPacket
(
p_bit_stream
);
BitstreamNextDataPacket
(
p_bit_stream
);
}
while
(
!
p_bit_stream
->
p_decoder_fifo
->
b_die
&&
!
p_bit_stream
->
p_decoder_fifo
->
b_error
&&
p_bit_stream
->
p_data
!=
p_bit_stream
->
p_decoder_fifo
->
p_first
->
p_first
);
i_sync_ptr
=
*
(
p_bit_stream
->
p_byte
-
2
)
<<
8
i_sync_ptr
=
*
(
p_bit_stream
->
p_byte
-
2
)
<<
8
|
*
(
p_bit_stream
->
p_byte
-
1
);
|
*
(
p_bit_stream
->
p_byte
-
1
);
p_bit_stream
->
p_byte
+=
i_sync_ptr
;
p_bit_stream
->
p_byte
+=
i_sync_ptr
;
...
...
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