Browse Source

1.修复EPBP数组溢出判断

2.升级808库
tags/v1.1.0
SmallChi(Koike) 5 years ago
parent
commit
eb97cc8f2f
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/JT1078.Flv/JT1078.Flv.csproj
  2. +1
    -1
      src/JT1078.Protocol/H264/H264Decoder.cs
  3. +2
    -2
      src/JT808.Protocol.Extensions.JT1078/JT808.Protocol.Extensions.JT1078.csproj

+ 1
- 1
src/JT1078.Flv/JT1078.Flv.csproj View File

@@ -14,7 +14,7 @@
<licenseUrl>https://github.com/SmallChi/JT1078/blob/master/LICENSE</licenseUrl>
<license>https://github.com/SmallChi/JT1078/blob/master/LICENSE</license>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Version>1.0.0-preview4</Version>
<Version>1.0.0-preview5</Version>
<SignAssembly>false</SignAssembly>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseFile>LICENSE</PackageLicenseFile>


+ 1
- 1
src/JT1078.Protocol/H264/H264Decoder.cs View File

@@ -125,7 +125,7 @@ namespace JT1078.Protocol.H264
var sourceIndex = 0;
for (i = 0; i < newLength; sourceIndex++, i++)
{
if (sourceIndex == EPBPositions[0])
if (EPBPositions.Any()&&sourceIndex == EPBPositions[0])
{
// Skip this byte
sourceIndex++;


+ 2
- 2
src/JT808.Protocol.Extensions.JT1078/JT808.Protocol.Extensions.JT1078.csproj View File

@@ -15,7 +15,7 @@
<licenseUrl>https://github.com/SmallChi/JT1078/blob/master/LICENSE</licenseUrl>
<license>https://github.com/SmallChi/JT1078/blob/master/LICENSE</license>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Version>2.2.1</Version>
<Version>2.2.2</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

@@ -28,7 +28,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JT808" Version="2.2.1" />
<PackageReference Include="JT808" Version="2.2.2" />
</ItemGroup>

<ItemGroup>


Loading…
Cancel
Save