Fix incorrect condition

Former-commit-id: d16efbda31
This commit is contained in:
hey-red 2021-01-23 05:40:03 +03:00
parent 3d640f9e08
commit ce12f753c0

View file

@ -10,6 +10,7 @@ public class ContainerFormat
public bool DemuxingSupported { get; private set; }
public bool MuxingSupported { get; private set; }
public string Description { get; private set; } = null!;
public string Extension
{
get
@ -36,8 +37,8 @@ internal static bool TryParse(string line, out ContainerFormat fmt)
fmt = new ContainerFormat(match.Groups[3].Value)
{
DemuxingSupported = match.Groups[1].Value == " ",
MuxingSupported = match.Groups[2].Value == " ",
DemuxingSupported = match.Groups[1].Value != " ",
MuxingSupported = match.Groups[2].Value != " ",
Description = match.Groups[4].Value
};
return true;