Add MediaType::AllocFormat function
Add MediaType::AllocFormat function

This safely allocates data and fills out the pbFormat and cbFormat
member varaibles of the structure.

jp9000/libdshowcapture,ChristianFrisson/libdshowcapture,upsoft/libdshowcapture,jp9000/libdshowcapture