Update lpc.c

patches made from https://github.com/ramiropolla/mlpenc/blob/master/mlp/libavcodec_mlpenc.diff