And with codec. What code it is in? For what architecture or operating system? What is system constraints it has to operate in? Do you have some specification? Do you need to due something beyond it for new codec.
And from security viewpoint running some arbitrary code from disk sounds like questionable idea. Specially for say pc or console...