Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d5849883
Commit
d5849883
authored
Nov 01, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/audio_output/directx.c: forgot an aout_BufferFree().
parent
95efa086
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/audio_output/directx.c
modules/audio_output/directx.c
+5
-1
No files found.
modules/audio_output/directx.c
View file @
d5849883
...
...
@@ -2,7 +2,7 @@
* directx.c: Windows DirectX audio output method
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: directx.c,v 1.
6 2002/11/01 15:06:23
gbazin Exp $
* $Id: directx.c,v 1.
7 2002/11/01 15:43:55
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -547,12 +547,16 @@ static int DirectxFillBuffer( aout_instance_t *p_aout, int i_frame,
if
(
dsresult
!=
DS_OK
)
{
msg_Warn
(
p_notif
,
"cannot lock buffer"
);
if
(
p_buffer
)
aout_BufferFree
(
p_buffer
);
return
VLC_EGENERIC
;
}
if
(
p_buffer
!=
NULL
)
{
p_aout
->
p_vlc
->
pf_memcpy
(
p_write_position
,
p_buffer
->
p_buffer
,
l_bytes1
);
aout_BufferFree
(
p_buffer
);
}
else
memset
(
p_write_position
,
0
,
l_bytes1
);
...
...
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