summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-01-19 12:40:37 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-19 12:40:37 -0800
commit4f36a5c918231254209374788c873dfcbe4002d1 (patch)
treee31171bc86e63cbb33a6274569de233a79074668
parentc3ab5a56681873e35ef17b5eade00c29330c0201 (diff)
downloadpesconvert-4f36a5c918231254209374788c873dfcbe4002d1.tar.gz
Mark the "big y displacement" case as a jumpstitch too
Another case pointed out by Trever and missed in his first patch. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--pes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pes.c b/pes.c
index 18f90a8..d630350 100644
--- a/pes.c
+++ b/pes.c
@@ -246,6 +246,7 @@ static int parse_pes_stitches(struct region *region, unsigned int pec, struct pe
/* Signed 12-bit arithmetic */
if (val2 & 2048)
val2 -= 4096;
+ jumpstitch = 1;
} else {
if (val2 & 64)
val2 -= 128;