modified:   libs/shared/encoder.c