assert(0);
ADM_assert(0);
int getFFCompressParams(COMPRESSION_MODE * mode, uint32_t * qz,		      uint32_t * br,uint32_t *fsize,FFcodecSetting *conf){int ret=0;			dialog=create_dialog1();	upload(dialog,conf);		gtk_transient(dialog);	#define HIST_SET(x) gtk_option_menu_set_history(GTK_OPTION_MENU(WID(optionmenuType)), x)#define VAL_SET(x) gtk_write_entry(WID(entryEntry), x)		mQ=*qz;		mB=*br;		mS=*fsize;			mMode=*mode;			updateMode();		 	gtk_signal_connect(GTK_OBJECT(WID(optionmenuType)), "changed",                      GTK_SIGNAL_FUNC(cb_mod),                   (void *) 0);			if(gtk_dialog_run(GTK_DIALOG(dialog))==GTK_RESPONSE_OK)	{		int r=-1,value=-1;				ret=1;		download(dialog,conf);			r=getRangeInMenu(WID(optionmenuType));						switch(r)			{				case 0:					*mode = COMPRESS_CBR;				      		      			value = (uint32_t) gtk_read_entry(WID(entryEntry));		      			if (value < 3000)			  			value *= 1000;		      			if (value > 16 && value < 6000000)					{			    			*br = value;			    			ret = 1;								      			}										break;				case 1:					*mode = COMPRESS_CQ;		      								value = (uint32_t) gtk_spin_button_get_value_as_int(								GTK_SPIN_BUTTON(WID(spinbuttonQuant)));		      			if (value >= 2 && value <= 32)						{			    			*qz = value;		      				}		      			break;				case 2:		     				*mode = COMPRESS_2PASS;		       										value = (uint32_t) gtk_read_entry(WID(entryEntry));        					if((value>0)&&(value<4000))          					{       							*fsize=value;				      			           					}						            					break;		  		default:		      				assert(0);				}			}	gtk_widget_destroy(dialog);	return ret;}	