Bug 87878 - [PATCH] Bugfix for multimedia/mpgtx
Summary: [PATCH] Bugfix for multimedia/mpgtx
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Johnson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-23 18:20 UTC by freebsd
Modified: 2005-10-23 20:41 UTC (History)
0 users

See Also:


Attachments
file.diff (565 bytes, patch)
2005-10-23 18:20 UTC, freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!