fprintf(stderr, "my_error_exit()\n");
char buffer[JMSG_LENGTH_MAX];   (*cinfo->err->format_message) (cinfo, buffer);  fprintf(stderr, "my_error_exit()\n%s\n", buffer);
my_error_exit (j_common_ptr cinfo){  nsresult error_code = NS_ERROR_FAILURE;  decoder_error_mgr *err = (decoder_error_mgr *) cinfo->err;#if 0#ifdef DEBUG/*ptn fix later */  if (il_debug >= 1) {      char buffer[JMSG_LENGTH_MAX];      /* Create the message */      (*cinfo->err->format_message) (cinfo, buffer);      ILTRACE(1,("%s\n", buffer));  }#endif  /* Convert error to a browser error code */  if (cinfo->err->msg_code == JERR_OUT_OF_MEMORY)      error_code = MK_OUT_OF_MEMORY;  else      error_code = MK_IMAGE_LOSSAGE;#endif  fprintf(stderr, "my_error_exit()\n");  /* Return control to the setjmp point. */  longjmp(err->setjmp_buffer, error_code);}