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
91f8a9a4
Commit
91f8a9a4
authored
Mar 19, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed two memory leaks * fixed typo in waveout.c
parent
fde2aaea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
plugins/dvd/dvd_access.c
plugins/dvd/dvd_access.c
+3
-1
plugins/mpeg_vdec/vpar_pool.c
plugins/mpeg_vdec/vpar_pool.c
+6
-1
plugins/win32/waveout.c
plugins/win32/waveout.c
+3
-3
No files found.
plugins/dvd/dvd_access.c
View file @
91f8a9a4
...
...
@@ -8,7 +8,7 @@
* -dvd_udf to find files
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: dvd_access.c,v 1.
9 2002/03/18 19:14:52 sam
Exp $
* $Id: dvd_access.c,v 1.
10 2002/03/19 12:48:01 gbazin
Exp $
*
* Author: Stphane Borel <stef@via.ecp.fr>
*
...
...
@@ -789,6 +789,7 @@ static char * DVDParse( input_thread_t * p_input )
{
intf_ErrMsg
(
"dvd error: cannot stat() device `%s' (%s)"
,
psz_device
,
strerror
(
errno
));
free
(
psz_device
);
return
NULL
;
}
...
...
@@ -797,6 +798,7 @@ static char * DVDParse( input_thread_t * p_input )
{
intf_WarnMsg
(
3
,
"input: DVD plugin discarded"
" (not a valid block device)"
);
free
(
psz_device
);
return
NULL
;
}
#endif
...
...
plugins/mpeg_vdec/vpar_pool.c
View file @
91f8a9a4
...
...
@@ -2,7 +2,7 @@
* vpar_pool.c : management of the pool of decoder threads
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vpar_pool.c,v 1.
5 2001/12/30 07:09:56 sam
Exp $
* $Id: vpar_pool.c,v 1.
6 2002/03/19 12:48:01 gbazin
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -207,6 +207,11 @@ void vpar_EndPool( vpar_thread_t * p_vpar )
{
int
i
;
for
(
i
=
0
;
i
<
12
;
i
++
)
{
free
(
p_vpar
->
pool
.
mb
.
p_idcts
[
i
].
pi_block
);
}
for
(
i
=
0
;
i
<
p_vpar
->
pool
.
i_smp
;
i
++
)
{
int
j
;
...
...
plugins/win32/waveout.c
View file @
91f8a9a4
...
...
@@ -2,7 +2,7 @@
* waveout.c : Windows waveOut plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: waveout.c,v 1.
4 2002/02/24 22:06:50 sam
Exp $
* $Id: waveout.c,v 1.
5 2002/03/19 12:48:01 gbazin
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -155,7 +155,7 @@ static int aout_SetFormat( aout_thread_t *p_aout )
if
(
(
p_aout
->
p_sys
->
waveformat
.
nChannels
!=
p_aout
->
i_channels
)
||
(
p_aout
->
p_sys
->
waveformat
.
nSamplesPerSec
!=
p_aout
->
i_rate
)
)
{
if
(
waveOutClose
(
p_aout
->
p_sys
->
h_waveout
)
=
=
MMSYSERR_NOERROR
)
if
(
waveOutClose
(
p_aout
->
p_sys
->
h_waveout
)
!
=
MMSYSERR_NOERROR
)
{
intf_ErrMsg
(
"aout error: waveOutClose failed"
);
}
...
...
@@ -252,7 +252,7 @@ static void aout_Close( aout_thread_t *p_aout )
intf_WarnMsg
(
3
,
"aout: waveOut aout_Close "
);
/* Close the device */
if
(
waveOutClose
(
p_aout
->
p_sys
->
h_waveout
)
=
=
MMSYSERR_NOERROR
)
if
(
waveOutClose
(
p_aout
->
p_sys
->
h_waveout
)
!
=
MMSYSERR_NOERROR
)
{
intf_ErrMsg
(
"aout error: waveOutClose failed"
);
}
...
...
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