Applied smart pointers to MP4 related classes.