Fix piracast to make it work with Sony Xperia M

Hello,

I have made changes in MPEG2 TS layer of Piracast code to make it work with Sony Xperia M. So, kindly review my patches and accept them.

Please let me know in case of any query.

Thanks,
Manish P.