codec.link must be created with -DCODEC