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; } }
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; } }