Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
76264186
Commit
76264186
authored
May 03, 2003
by
Laurent Aimar
Browse files
* v4l: fix a stupid bug that broke audio.
parent
073c4afd
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/v4l/v4l.c
View file @
76264186
...
...
@@ -2,7 +2,7 @@
* v4l.c : Video4Linux input module for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: v4l.c,v 1.1
0
2003/05/0
2 17:35
:4
8
fenrir Exp $
* $Id: v4l.c,v 1.1
1
2003/05/0
3 01:52
:4
3
fenrir Exp $
*
* Author: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -612,7 +612,7 @@ static int AccessOpen( vlc_object_t *p_this )
p_sys
->
i_sample_rate
);
p_sys
->
i_audio_frame_size
=
0
;
p_sys
->
i_audio_frame_size_allocated
=
10
*
1024
;
p_sys
->
i_audio_frame_size_allocated
=
6
*
1024
;
p_sys
->
p_audio_frame
=
malloc
(
p_sys
->
i_audio_frame_size_allocated
);
}
...
...
@@ -1306,6 +1306,7 @@ static int Demux( input_thread_t *p_input )
}
// input_SplitBuffer( p_input, &p_pk, i_size + 8 );
p_pes
->
p_first
->
p_payload_start
+=
8
;
p_pes
->
i_pes_size
-=
8
;
if
(
p_es
&&
p_es
->
p_decoder_fifo
)
{
vlc_mutex_lock
(
&
p_es
->
p_decoder_fifo
->
data_lock
);
...
...
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