From 36d169d407a4a51ad06b64e06697e16e77b7d03b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Wed, 26 Feb 2014 21:54:07 +0100 Subject: [PATCH] Issue #392 Video stream data fix --- trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java b/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java index 0a7293a48..ccd109547 100644 --- a/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java +++ b/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java @@ -854,7 +854,7 @@ public class SWFInputStream extends InputStream { while (true) { long pos = getPos(); try { - tag = readTag(swf, level, pos, parseTags && !parallel, parallel, skipUnusualTags, gfx); + tag = readTag(swf, level, pos, parseTags && !parallel, parallel, skipUnusualTags, gfx); } catch (EOFException | EndOfStreamException ex) { tag = null; } @@ -908,6 +908,7 @@ public class SWFInputStream extends InputStream { case SoundStreamHeadTag.ID: case SoundStreamHead2Tag.ID: case SoundStreamBlockTag.ID: + case VideoFrameTag.ID: doParse = true; break; default: @@ -941,7 +942,7 @@ public class SWFInputStream extends InputStream { } catch (ExecutionException e) { Logger.getLogger(SWFInputStream.class.getName()).log(Level.SEVERE, "Error during tag reading", e); } - } + } executor.shutdown(); }