assert(0);
ADM_assert(0);
void setVideoEncoderSettings(COMPRESSION_MODE mode, uint32_t  param, uint32_t extraConf, uint8_t *extraData){	COMPRES_PARAMS *generic = NULL;	void *specific=NULL;	uint32_t specSize=0;	switch( current_codec)	{				case CodecSVCD :				  		generic=&mpeg2encSVCDConfig.generic;						specific=&mpeg2encSVCDConfig.specific;						specSize=sizeof(mpeg2encSVCDConfig.specific);		      		break;				case CodecDVD :				  		generic=&mpeg2encDVDConfig.generic;						specific=&mpeg2encDVDConfig.specific;						specSize=sizeof(mpeg2encDVDConfig.specific);		      		break;				case CodecVCD:						printf("No conf for VCD!\n");				break;#ifdef USE_XX_XVID      	 			case CodecXvid :				  		generic=&xvidConfig.generic;						specific=&xvidConfig.specific;						specSize=sizeof(xvidConfig.specific);		      		break;#endif#ifdef USE_XVID_4      	 			case CodecXvid4 :				  		generic=&xvid4Config.generic;						specific=&xvid4Config.specific;						specSize=sizeof(xvid4Config.specific);		      		break;#endif#ifdef  USE_FFMPEG					case CodecMjpeg :						break;#endif#ifdef USE_DIVX				 	case CodecDivx :				  			generic=&divxConfig.generic;							specific=&divxConfig.specific;							specSize=sizeof(divxConfig.specific);		    			break;#endif#ifdef USE_FFMPEG					case  CodecFF:					case  CodecH263:					case  CodecH263P:					case  CodecHuff:					case  CodecFFV1:											generic=&ffmpegConfig.generic ;											specific=&ffmpegConfig.specific;											specSize=sizeof(ffmpegConfig.specific);											break;					case CodecXVCD:					case CodecXSVCD:									generic=&ffmpegMpeg1Config.generic;									specific=&ffmpegMpeg1Config.specific;									specSize=sizeof(ffmpegMpeg1Config.specific);									break;#endif					default:								assert(0);	}	  generic->mode=mode;	  switch(mode)	  {				case COMPRESS_CBR:								aprintf("CBR : %lu kbps\n",param);								generic->bitrate=param;								break;				case COMPRESS_CQ:								aprintf("CQ : %lu q\n",param);								generic->qz=param;								break;				case COMPRESS_2PASS:								aprintf("2pass : %lu q\n",param);								generic->finalsize=param;								break;				default:								assert(0);																													}	if(extraConf && extraData && specific)	{		if(specSize!=extraConf)		{			printf("\n*** ERROR : Extra data for codec config has a different size!!! *****\n");			printf("\n*** ERROR : Extra data for codec config has a different size!!! *****\n");			printf("\n*** ERROR : Extra data for codec config has a different size!!! *****\n");		}		else		{			printf("\n using %u bytes of codec specific data...\n",extraConf);			memcpy(specific,extraData,extraConf);		}	}}