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
4dc9ef71
Commit
4dc9ef71
authored
Dec 11, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix the audio.
parent
0edb8726
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
src/audio_decoder/audio_decoder_thread.c
src/audio_decoder/audio_decoder_thread.c
+1
-6
src/audio_decoder/audio_decoder_thread.h
src/audio_decoder/audio_decoder_thread.h
+0
-1
No files found.
src/audio_decoder/audio_decoder_thread.c
View file @
4dc9ef71
...
...
@@ -202,12 +202,11 @@ static void RunThread (adec_thread_t * p_adec)
intf_DbgMsg
(
"adec: sync
\n
"
);
p_adec
->
align
=
0
;
p_byte_stream
=
adec_byte_stream
(
&
p_adec
->
audio_decoder
);
do
{
adec_byte_stream_next
(
p_byte_stream
);
}
while
(
(
!
p_adec
->
align
)
&&
(
!
p_adec
->
b_die
)
}
while
(
!
((
*
((
u32
*
)
p_adec
->
p_data
->
p_payload_start
)
&
0xFFFFFF00
)
==
0x100
)
&&
(
!
p_adec
->
b_die
)
&&
(
!
p_adec
->
b_error
)
);
if
(
p_adec
->
b_die
||
p_adec
->
b_error
)
...
...
@@ -370,10 +369,6 @@ void adec_byte_stream_next ( adec_byte_stream_t * p_byte_stream )
/* The next byte could be found in the next PES packet */
p_adec
->
p_data
=
DECODER_FIFO_START
(
*
p_adec
->
p_fifo
)
->
p_first
;
if
(
DECODER_FIFO_START
(
*
p_adec
->
p_fifo
)
->
b_data_alignment
)
{
p_adec
->
align
=
1
;
}
/* We can release the fifo's data lock */
vlc_mutex_unlock
(
&
p_adec
->
p_fifo
->
data_lock
);
...
...
src/audio_decoder/audio_decoder_thread.h
View file @
4dc9ef71
...
...
@@ -38,7 +38,6 @@ typedef struct adec_thread_s
*/
decoder_fifo_t
*
p_fifo
;
/* stores the PES stream data */
data_packet_t
*
p_data
;
int
align
;
adec_config_t
*
p_config
;
...
...
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