Codestyle fixes (Codeanalysis)

This commit is contained in:
Flamefire committed 2013-03-15 16:15:34 +01:00
1 parent 8b70a42e09
commit c3cac56e1a
28 files changed
+385 -289

No files matched your search

+7 -1
View File
@@ -213,7 +213,7 @@ namespace Vocaluxe.Lib.Video
public bool displayed;
}
class Decoder
class Decoder: IDisposable
{
private IntPtr _instance = IntPtr.Zero; // acinerella instance
private IntPtr _videodecoder = IntPtr.Zero; // acinerella video decoder instance
@@ -804,5 +804,11 @@ namespace Vocaluxe.Lib.Video
return (Int64)_fs.Seek((long)pos, (SeekOrigin)whence);
}
#endregion Callbacks
public void Dispose()
{
_fs.Dispose();
_fs = null;
}
}
}