Bug 87878

Summary: [PATCH] Bugfix for multimedia/mpgtx
Product: Ports & Packages Reporter: freebsd
Component: Individual Port(s)Assignee: Michael Johnson <ahze>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description freebsd 2005-10-23 18:20:18 UTC
Due to a bug in mpgtx the code for joining multiple mpeg files does not work when off_t is 64 bit. On FreeBSD, off_t has been a 64 bit value for ages. So, this functionality probably has been broken for a very long time.

A description of the problem along with a patch can be found in the following upstream bug report:
https://sourceforge.net/tracker/index.php?func=detail&aid=1309392&group_id=22678&atid=376136

Fix: The patch attached to the upstream big report just needs to be dropped into multimedia/mpgtx/files:
How-To-Repeat: Try joining two mpeg files using mpgtx:

mpgtx -j 1.mpg 2.mpg -o joined.mpg

*** Expected Result ***

Now processing Chunk 1/2 ...  100.00%  
Now processing Chunk 2/2 ...  100.00%  

*** Actual Result ***

failed, range results in an empty chunk
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-10-23 18:21:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ahze

Over to maintainer
Comment 2 Michael Johnson freebsd_committer freebsd_triage 2005-10-23 20:40:56 UTC
State Changed
From-To: open->closed

Committed, Thanks!