On Sun, 19 Apr 2009, Graham Murphy wrote:

> As distributed, lines 245-250 in yuv2lav.c are:
> 
> #ifdef HAVE_LIBQUICKTIME
>          dotptr = strrchr(param_output, '.');
>          if ( (!strcasecmp(dotptr+1, "mov")) && (param_format == 'x') )
>                  param_format = 'q';
> #endif
>          if ( (!strcasecmp(dotptr+1, "avi")) && (param_format == 'x') )
>                  param_format = 'a';
> 
> Apparently, the version compiled for SUSE 11.0 does not have 
> HAVE_LIBQUICKTIME defined 
> (which might just be a pkg-config issue), and so yuv2lav is broken.


        To me the way I would prefer to fix the problem is require Quicktime 
support but
        that idea has been shot down in the past.  

        I've checked in a change to not only initialize 'dotptr' but also check 
for a
        NULL pointer (if there is no extension on the filename).

        Cheers,
        Steven Schultz


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to