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
910e28a1
Commit
910e28a1
authored
Dec 14, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed real frame allocation error path.
parent
d63cf29c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/demux/real.c
modules/demux/real.c
+2
-3
No files found.
modules/demux/real.c
View file @
910e28a1
...
@@ -542,8 +542,7 @@ static void DemuxVideo( demux_t *p_demux, real_track_t *tk, mtime_t i_dts, unsig
...
@@ -542,8 +542,7 @@ static void DemuxVideo( demux_t *p_demux, real_track_t *tk, mtime_t i_dts, unsig
tk
->
p_frame
=
block_New
(
p_demux
,
tk
->
i_frame_size
);
tk
->
p_frame
=
block_New
(
p_demux
,
tk
->
i_frame_size
);
if
(
!
tk
->
p_frame
)
if
(
!
tk
->
p_frame
)
{
{
tk
->
i_frame_slice
=
0
;
tk
->
i_frame_size
=
0
;
tk
->
i_frame_slice_count
=
0
;
return
;
return
;
}
}
...
@@ -571,7 +570,7 @@ static void DemuxVideo( demux_t *p_demux, real_track_t *tk, mtime_t i_dts, unsig
...
@@ -571,7 +570,7 @@ static void DemuxVideo( demux_t *p_demux, real_track_t *tk, mtime_t i_dts, unsig
/* */
/* */
tk
->
i_frame_slice
++
;
tk
->
i_frame_slice
++
;
if
(
tk
->
i_frame_slice
>
tk
->
i_frame_slice_count
)
if
(
tk
->
i_frame_slice
>
tk
->
i_frame_slice_count
||
!
tk
->
p_frame
)
break
;
break
;
/* */
/* */
...
...
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