Create codec.c
Merge pull request #3 from tataboem/patch-3

codec.c