OSDN Git Service

JPEGの終端を 0xff 0xd9 にした。(GR3は区切り文字が入らない仕様のため)
authorMRSa <mrsa@myad.jp>
Sat, 27 Apr 2019 14:10:03 +0000 (23:10 +0900)
committerMRSa <mrsa@myad.jp>
Sat, 27 Apr 2019 14:10:03 +0000 (23:10 +0900)
app/src/main/java/net/osdn/gokigen/gr2control/camera/utils/SimpleLiveviewSlicer.java

index 2142265..4f56f09 100644 (file)
@@ -267,7 +267,8 @@ public class SimpleLiveviewSlicer
     public Payload nextPayloadForMotionJpeg()
     {
         int searchIndex = 0;
-        int[] endmarker = { 0xff, 0xd9, 0x0d, 0x0a, 0x0d, 0x0a };
+        //int[] endmarker = { 0xff, 0xd9, 0x0d, 0x0a, 0x0d, 0x0a };
+        int[] endmarker = { 0xff, 0xd9 };
         Payload payload = null;
         try
         {