Update mlpenc .c

as the parameters changed in function encode2 in avcodec.h ,accordingly the parameters of write_access_unit is changed.
since the data is written into nuffer which is the data part of avcodec packet ,we replace data to pkt->data