- Fix mpeg joining [1] and splitting

Obtained from:	https://sourceforge.net/tracker/index.php?func=detail&aid=1309392&group_id=22678&atid=376136 [1]
Submitted by:	freebsd@chillt.de [1]
PR:		ports/87878 [1]
This commit is contained in:
Michael Johnson 2005-10-23 19:40:43 +00:00
parent c3d50bb4e9
commit 507080cae3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146193
2 changed files with 22 additions and 0 deletions

View file

@ -8,6 +8,7 @@
PORTNAME= mpgtx
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View file

@ -0,0 +1,21 @@
--- chunkTab.cxx.orig Sat Dec 11 18:33:22 2004
+++ chunkTab.cxx Fri Sep 30 11:29:15 2005
@@ -142,7 +142,7 @@
off_t part,nparts;
chunk* tempchunk = new chunk;
tempchunk->file = 0;
- tempchunk->from = -1;
+ tempchunk->from = 0;
tempchunk->to = -1;
tempchunk->to_included = false;
tempchunk->from_included = false;
@@ -626,7 +626,7 @@
for (i = 1; i <= n; i++) {
tempchunk = new chunk;
tempchunk->file = 0;
- tempchunk->from = -1;
+ tempchunk->from = 0;
tempchunk->to = -1;
tempchunk->to_included = true;
tempchunk->from_included = false;