decoderbase: fix new[] free mismatch
scopedlogger: add license header
encoder: init version, include h264
host: remove private code