- initialize codec_name to NULL to prevent coredump