assert(0);
ADM_assert(0);
int getCompressParams(COMPRESSION_MODE * mode, uint32_t * qz,		      uint32_t * br,uint32_t *fsize){    static GtkWidget *cprm;    char *str;    char string[100];    uint32_t value;    int ret = 0;    do      {	  compresslock = 0;	  cprm = create_compression();	  //	  switch (*mode)	    {	    case COMPRESS_CBR:			    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON						 (radiobutton1), 1);		sprintf(string, "%d", (int) *br / 1000);		gtk_editable_insert_text(GTK_EDITABLE(entry_bitrate),					 string, strlen(string), &ret);		break;		   case COMPRESS_2PASS:		    		gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON						 	(radiobutton3), 1);					sprintf(string, "%d", (int) *fsize );					gtk_editable_insert_text(GTK_EDITABLE(entry_size),					 string, strlen(string), &ret);		break;	    case COMPRESS_CQ:		gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON					     (radiobutton2), 1);		sprintf(string, "%d", (int) *qz);		gtk_editable_insert_text(GTK_EDITABLE(entry_qz),					 string, strlen(string), &ret);		break;	    }	  gtk_widget_show(cprm);	  //__________________________________________________________	  while (!compresslock)	    {		gtk_main_iteration();	    }	  if (1 == compresslock)	    {		// Get compression mode		int r1;		r1 = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON						  (radiobutton1));		r1 +=		    2 *		    gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON						 (radiobutton2));	r1 +=		    4 *		    gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON						 (radiobutton3));		switch (r1)		  {		  case 1:		      *mode = COMPRESS_CBR;//ubr		      str =			  gtk_editable_get_chars(GTK_EDITABLE						 (entry_bitrate), 0, -1);		      value = (uint32_t) atoi(str);		      if (value < 3000)			  value *= 1000;		      if (value > 300000 && value < 6000000)			{			    *br = value;			    ret = 1;		      } else			  ret = 0;		      break;		  case 2:		      *mode = COMPRESS_CQ;		      str =			  gtk_editable_get_chars(GTK_EDITABLE(entry_qz), 0,						 -1);		      value = (uint32_t) atoi(str);		      if (value >= 2 && value <= 32)						{			    			*qz = value;			    			ret = 1;		      	}		      	else						{				    ret = 0;						}		  	    break;		  case 4:		     *mode = COMPRESS_2PASS;		       str=gtk_editable_get_chars(GTK_EDITABLE(entry_size), 0,						 -1);		      value = (uint32_t) atoi(str);        		if((value>0)&&(value<2048))          		{       				*fsize=value;				      	ret=1;           	}            	else             		ret=0;         		break;		  default:		      assert(0);		  }	    }	  	if(compresslock==-2)		{			ret=1;    			printf("\n destroyed ...\n");					}			else   		gtk_widget_destroy(cprm);      }    while (!ret);		// end do    printf("\n exiting ...\n");    if(compresslock==1) return 1;    return 0;}