#include <exec/libraries.h>
#include <proto/exec.h>

struct Library *CGXVideoBase = NULL;
extern unsigned long _CGXVideoBaseVer;

void _INIT_5_CGXVideoBase()
{
  if (!(CGXVideoBase = OpenLibrary("cgxvideo.library",_CGXVideoBaseVer)))
    exit(20);
}

void _EXIT_5_CGXVideoBase()
{
  if (CGXVideoBase)
    CloseLibrary(CGXVideoBase);
}
