Hallo > when trying to convert the image bla.jpg with > jpeg2yuv -f 25 -j bla.jpg -I p -n 1 > bla.out
> yuv[0] = malloc(param->width * param->height * sizeof(yuv[0][0])); > yuv[1] = malloc(param->width * param->height / 4 * sizeof(yuv[1][0])); > yuv[2] = malloc(param->width * param->height / 4 * sizeof(yuv[2][0])); > > does not allocate enough memory for > > jpegutils::decode_jpeg_raw() > > and the program crashes because memory was overwritten for variable dinfo > which causes jpeg_destroy_decompress() to crash. > > I hope this report will help to improve future versions of this great software After taking a quick look at it I noticed that your image hast 200x133 pixles. Which is a problem because it can be dived by 4 without rest. So I don't know how much memory it will allocate. Scaling it to 200x136 does not help. So there is one more bug hidden. Scaling it up to 352x288 (PAL VCD size) and jpeg2yuv works :-/ I'll investigate that the comming weekend. As a workaround you can use ppmtoy4m in combination with convert: convert bla.jpg ppm:- | ppmtoy4m | ..... auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users