fix stdin support

This commit is contained in:
Frank Skare
2020-05-12 18:18:04 +02:00
parent 7d31237d5f
commit b0ef161ed9
3 changed files with 10 additions and 4 deletions

View File

@@ -1,10 +1,16 @@
5.4.8.1 Beta (not yet released) 5.4.8.2 Beta (not yet released)
============ ============
5.4.8.1 Beta
============
- fix stdin support
5.4.8.0 5.4.8.0
======= =======

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.8.0")] [assembly: AssemblyVersion("5.4.8.1")]
[assembly: AssemblyFileVersion("5.4.8.0")] [assembly: AssemblyFileVersion("5.4.8.1")]

View File

@@ -883,7 +883,7 @@ namespace mpvnet
{ {
string arg = i; string arg = i;
if (arg.StartsWith("-")) if (arg.StartsWith("-") && arg.Length > 1)
{ {
try try
{ {