Codestyle fixes (Codeanalysis)
This commit is contained in:
1 parent
8b70a42e09
commit
c3cac56e1a
28 files changed
+385
-289
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user