From eb97cc8f2feb679b4bd7677c2a75bf3fd0409e7d Mon Sep 17 00:00:00 2001
From: "SmallChi(Koike)" <564952747@qq.com>
Date: Wed, 11 Dec 2019 15:08:19 +0800
Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8DEPBP=E6=95=B0=E7=BB=84?=
=?UTF-8?q?=E6=BA=A2=E5=87=BA=E5=88=A4=E6=96=AD=202.=E5=8D=87=E7=BA=A7808?=
=?UTF-8?q?=E5=BA=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/JT1078.Flv/JT1078.Flv.csproj | 2 +-
src/JT1078.Protocol/H264/H264Decoder.cs | 2 +-
.../JT808.Protocol.Extensions.JT1078.csproj | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/JT1078.Flv/JT1078.Flv.csproj b/src/JT1078.Flv/JT1078.Flv.csproj
index fcfb6b5..2c5805c 100644
--- a/src/JT1078.Flv/JT1078.Flv.csproj
+++ b/src/JT1078.Flv/JT1078.Flv.csproj
@@ -14,7 +14,7 @@
https://github.com/SmallChi/JT1078/blob/master/LICENSE
https://github.com/SmallChi/JT1078/blob/master/LICENSE
false
- 1.0.0-preview4
+ 1.0.0-preview5
false
true
LICENSE
diff --git a/src/JT1078.Protocol/H264/H264Decoder.cs b/src/JT1078.Protocol/H264/H264Decoder.cs
index ab3e952..32ce968 100644
--- a/src/JT1078.Protocol/H264/H264Decoder.cs
+++ b/src/JT1078.Protocol/H264/H264Decoder.cs
@@ -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++;
diff --git a/src/JT808.Protocol.Extensions.JT1078/JT808.Protocol.Extensions.JT1078.csproj b/src/JT808.Protocol.Extensions.JT1078/JT808.Protocol.Extensions.JT1078.csproj
index 7bb6b4b..8ffe968 100644
--- a/src/JT808.Protocol.Extensions.JT1078/JT808.Protocol.Extensions.JT1078.csproj
+++ b/src/JT808.Protocol.Extensions.JT1078/JT808.Protocol.Extensions.JT1078.csproj
@@ -15,7 +15,7 @@
https://github.com/SmallChi/JT1078/blob/master/LICENSE
https://github.com/SmallChi/JT1078/blob/master/LICENSE
false
- 2.2.1
+ 2.2.2
LICENSE
@@ -28,7 +28,7 @@
-
+