Ejemplo n.º 1
0
void ShutdownInterface(void *ifce)
{
	BaseInterface *ptr = (BaseInterface *)ifce;
	switch (ptr->InterfaceType) {
#ifdef M4_HAS_FAAD
	case M4MEDIADECODERINTERFACE:
		DeleteFAADDec(ifce);
		break;
#endif
	case M4STREAMINGCLIENT:
		AAC_Delete(ptr);
		break;
	}
}
Ejemplo n.º 2
0
GF_EXPORT
void ShutdownInterface(GF_BaseInterface *ifce)
{
	switch (ifce->InterfaceType) {
#ifdef GPAC_HAS_FAAD
	case GF_MEDIA_DECODER_INTERFACE:
		DeleteFAADDec((GF_BaseDecoder *)ifce);
		break;
#endif
	case GF_NET_CLIENT_INTERFACE:
		AAC_Delete(ifce);
		break;
	}
}