default:assert(0);
default:ADM_assert(0);
uint8_t AVDMVideoStreamMPResize::reset(uint32_t nw, uint32_t old,uint32_t algo){ 				 SwsFilter 		    *srcFilter=NULL;				 SwsFilter		    *dstFilter=NULL;				 int 			   flags=0;				clean();				 // swsGetFlagsAndFilterFromCmdLine(&flags, &srcFilter, &dstFilter);//SwsContext *getSwsContextFromCmdLine(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat);					flags=algo;					switch(flags)					{						case 0: //bilinear								flags=SWS_BILINEAR;break;						case 1: //bicubic								flags=SWS_BICUBIC;break;						case 2: //Lanczos								flags=SWS_LANCZOS;break;						default:assert(0);					}#ifdef USE_MMX				#define ADD(x,y) if( CpuCaps::has##x()) flags|=SWS_CPU_CAPS_##y;		ADD(MMX,MMX);				ADD(3DNOW,3DNOW);		ADD(MMXEXT,MMX2);#endif					    _context=sws_getContext(				    		_in->getInfo()->width,_in->getInfo()->height,						IMGFMT_YV12,		 				nw,old,	   					IMGFMT_YV12,	    					flags, srcFilter, dstFilter);				if(!_context) return 0;				return 1;}