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
5769061d
Commit
5769061d
authored
Jul 21, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./src/input/input_ext-plugins.c: backported crash fix from MAIN.
parent
88039ba3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/input/input_ext-plugins.c
src/input/input_ext-plugins.c
+4
-2
No files found.
src/input/input_ext-plugins.c
View file @
5769061d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_ext-plugins.c: useful functions for access and demux plug-ins
* input_ext-plugins.c: useful functions for access and demux plug-ins
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: input_ext-plugins.c,v 1.10
2002/05/21 00:23:37
sam Exp $
* $Id: input_ext-plugins.c,v 1.10
.2.1 2002/07/21 14:37:35
sam Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -552,11 +552,13 @@ ssize_t input_FillBuffer( input_thread_t * p_input )
...
@@ -552,11 +552,13 @@ ssize_t input_FillBuffer( input_thread_t * p_input )
(
byte_t
*
)
p_buf
+
sizeof
(
data_buffer_t
)
(
byte_t
*
)
p_buf
+
sizeof
(
data_buffer_t
)
+
i_remains
,
+
i_remains
,
p_input
->
i_bufsize
);
p_input
->
i_bufsize
);
if
(
i_ret
<
0
)
i_ret
=
0
;
if
(
i_ret
<
0
)
i_ret
=
0
;
vlc_mutex_lock
(
&
p_input
->
p_method_data
->
lock
);
p_input
->
p_data_buffer
=
p_buf
;
p_input
->
p_data_buffer
=
p_buf
;
p_input
->
p_current_data
=
(
byte_t
*
)
p_buf
+
sizeof
(
data_buffer_t
);
p_input
->
p_current_data
=
(
byte_t
*
)
p_buf
+
sizeof
(
data_buffer_t
);
p_input
->
p_last_data
=
p_input
->
p_current_data
+
i_remains
+
i_ret
;
p_input
->
p_last_data
=
p_input
->
p_current_data
+
i_remains
+
i_ret
;
vlc_mutex_unlock
(
&
p_input
->
p_method_data
->
lock
);
return
(
(
ssize_t
)
i_remains
+
i_ret
);
return
(
(
ssize_t
)
i_remains
+
i_ret
);
}
}
...
...
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