Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
58a8163a
Commit
58a8163a
authored
Apr 01, 2010
by
Alexandre Savard
Browse files
[#2926] Code cleanup
parent
4297dbde
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/codecs/codecDescriptor.cpp
View file @
58a8163a
...
...
@@ -36,9 +36,9 @@ CodecDescriptor::~CodecDescriptor()
void
CodecDescriptor
::
deleteHandlePointer
(
void
)
{
int
i
;
_debug
(
"CodecDesccriptor: Delete codec handle pointers"
)
;
for
(
i
=
0
;
(
unsigned
int
)
i
<
_CodecInMemory
.
size
()
;
i
++
)
{
for
(
int
i
=
0
;
(
unsigned
int
)
i
<
_CodecInMemory
.
size
()
;
i
++
)
{
unloadCodec
(
_CodecInMemory
[
i
]);
}
...
...
@@ -221,6 +221,8 @@ AudioCodec* CodecDescriptor::loadCodec (std::string path) {
void
CodecDescriptor
::
unloadCodec
(
CodecHandlePointer
p
)
{
_debug
(
"CodecDescriptor: Unload codec"
);
using
std
::
cerr
;
destroy_t
*
destroyCodec
=
(
destroy_t
*
)
dlsym
(
p
.
second
,
"destroy"
);
...
...
Write
Preview
Supports
Markdown
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