mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ArchiveTools] Add null logic
This commit is contained in:
@@ -381,7 +381,12 @@ namespace SabreTools.Helper.Tools
|
|||||||
st = null;
|
st = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If we have a non-null stream, we seek to the beginning
|
||||||
|
if (st != null)
|
||||||
|
{
|
||||||
st.Position = 0;
|
st.Position = 0;
|
||||||
|
}
|
||||||
|
|
||||||
return st;
|
return st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user