Commit 58a8163a authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2926] Code cleanup

parent 4297dbde
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment