On Mon, Aug 29, 2011 at 11:41 AM, Steven Taylor <[email protected]> wrote:
> so you'd suggest recreating?

That might be the most robust, if someone changes jmf.

Or you could also update the header.

A quick experiment on jmf files suggests that the allocated length is
stored at byte offset 16 (bytes 16, 17, 18 and 19).

And
   open'jmf'

and then searching for the string 'bad jmf header' finds only one
match, which looks like this:
   if. 0=validate ts,had do. 'bad jmf header' assert 0[free fh,mh,fad end.

So hypothetically you could change the value stored in the header to
match the new file size (simplest approach with changing file sizes)
or you could update jmf itself, if supporting your changes interests
you.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to