Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ab734ace
Commit
ab734ace
authored
Dec 17, 2007
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check return value of malloc()
parent
30d0645a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
modules/codec/ffmpeg/demux.c
modules/codec/ffmpeg/demux.c
+3
-1
modules/codec/ffmpeg/video_filter.c
modules/codec/ffmpeg/video_filter.c
+1
-2
No files found.
modules/codec/ffmpeg/demux.c
View file @
ab734ace
...
...
@@ -2,7 +2,7 @@
* demux.c: demuxer using ffmpeg (libavformat).
*****************************************************************************
* Copyright (C) 2004 the VideoLAN team
* $Id$
* $Id
: 95d2460bf93b85608fa27565f1475aadd8a57360
$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@videolan.org>
...
...
@@ -142,6 +142,8 @@ int E_(OpenDemux)( vlc_object_t *p_this )
p_demux
->
pf_demux
=
Demux
;
p_demux
->
pf_control
=
Control
;
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
if
(
!
p_sys
)
return
VLC_ENOMEM
;
p_sys
->
ic
=
0
;
p_sys
->
fmt
=
fmt
;
p_sys
->
i_tk
=
0
;
...
...
modules/codec/ffmpeg/video_filter.c
View file @
ab734ace
...
...
@@ -164,7 +164,6 @@ int E_(OpenCropPadd)( vlc_object_t *p_this )
return
OpenFilterEx
(
p_this
,
VLC_TRUE
);
}
/*****************************************************************************
* CloseFilter: clean up the filter
*****************************************************************************/
...
...
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