Bug 1113403: Make MP4Sample destructor virtual. r=kinetik

This commit is contained in:
Jean-Yves Avenard 2014-12-23 14:40:29 +11:00
parent f47130b641
commit 1a79df027d
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public:
memmove(data, aData, size);
}
~VP8Sample()
virtual ~VP8Sample()
{
delete data;
}

View File

@ -156,7 +156,7 @@ class MP4Sample
public:
MP4Sample();
MP4Sample(const MP4Sample& copy);
~MP4Sample();
virtual ~MP4Sample();
void Update(int64_t& aMediaTime);
void Pad(size_t aPaddingBytes);