On Wed, 28 Jul 2004, marco wrote:

> and the string "/path/file.mp2" is over 80 characters long then
> mp2enc corrupts the output filename. I'm using mjpegtools-1.6.2
> and compiled with gcc-3.2.2.

        It's a Known problem.  The last time the issue was raised a quick/cheap
        fix was made to prevent mp2enc from coredumping (and the length limit
        raised slightly) but the problem wasn't really "fixed".

> Can other people reproduce this problem? I haven't checked mpeg2enc,
> mplex, etc, but I wonder if these would have problems too..
> 
        Those programs use the MAXPATHLEN value from the system header files
        I believe.   If 1024 characters (which is the value on some systems
        as I recall) isn't enough it's time to rethink the application ;)

        The long term fix is to either raise the limit in mp2enc or use
        dynamically allocated buffers.  It's on the TODO list.

        Steven Schultz



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to