Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
76264186
Commit
76264186
authored
May 03, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* v4l: fix a stupid bug that broke audio.
parent
073c4afd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/access/v4l/v4l.c
modules/access/v4l/v4l.c
+3
-2
No files found.
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/02 17:35:48
fenrir Exp $
* $Id: v4l.c,v 1.1
1 2003/05/03 01:52:43
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