Applied smart pointers to MPEG related classes