Update allcodecs.c

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