If you do something like:

    echo 000136_0.jpg | jpeg2yuv -f 25 -I p > /dev/null

jpeg2yuv loops forever processing the last filename seen on stdin.

I see 1.9.0rc3 is out and it appears to also have this issue.

Patch attached.

                Craig
===================================================================
RCS file: lavtools/RCS/jpeg2yuv.c,v
retrieving revision 1.1
diff -u -r1.1 lavtools/jpeg2yuv.c
--- lavtools/jpeg2yuv.c 2008/01/13 19:36:05     1.1
+++ lavtools/jpeg2yuv.c 2008/01/13 19:45:47
@@ -462,7 +462,7 @@
              jpegsize = read_jpeg_data(jpegdata, jpegname, prev_jpegname);
            }
            else {
-             jpegsize = 0;
+             jpegsize = -1;
            }
        }
        
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to