Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4edae60c
Commit
4edae60c
authored
Aug 16, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
real: Abort demuxing in case of error.
parent
c57a8be4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
modules/demux/real.c
modules/demux/real.c
+7
-3
No files found.
modules/demux/real.c
View file @
4edae60c
...
@@ -311,12 +311,16 @@ static int Demux( demux_t *p_demux )
...
@@ -311,12 +311,16 @@ static int Demux( demux_t *p_demux )
p_sys
->
i_data_packets
++
;
p_sys
->
i_data_packets
++
;
if
(
i_size
==
0
)
return
0
;
if
(
i_size
==
0
)
{
msg_Err
(
p_demux
,
"Got a NUKK size to read. (Invalid format?)"
);
return
1
;
}
if
(
i_size
>
sizeof
(
p_sys
->
buffer
)
)
if
(
i_size
>
sizeof
(
p_sys
->
buffer
)
)
{
{
msg_Err
(
p_demux
,
"Got a size to read bigger than our buffer.
Ignoring current frame.
"
);
msg_Err
(
p_demux
,
"Got a size to read bigger than our buffer.
(Invalid format?)
"
);
return
0
;
return
1
;
}
}
stream_Read
(
p_demux
->
s
,
p_sys
->
buffer
,
i_size
);
stream_Read
(
p_demux
->
s
,
p_sys
->
buffer
,
i_size
);
...
...
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