[DirectShow] Fix potention undefined behavior on destruction
authorKonstantin Ritt <ritt.ks@gmail.com>
Sat, 11 Apr 2015 15:33:20 +0000 (19:33 +0400)
committerKonstantin Ritt <ritt.ks@gmail.com>
Mon, 13 Apr 2015 09:58:12 +0000 (09:58 +0000)
commit740f16ac602b43ee61d6d1a22ad366dbf1d72e9a
tree3635f86a15221f7e5ea9c96b81f85ddc667ddc51
parente88da21a2024c404c19cf412a5afc0938a517bc9
[DirectShow] Fix potention undefined behavior on destruction

The exact warning is:
> deleting object of polymorphic class type which has non-virtual
  destructor might cause undefined behavior

Change-Id: I8f259def3f1f7f776fb31ace9dfcc7145426f5c0
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
src/plugins/directshow/player/directshowiosource.h
src/plugins/directshow/player/directshowmediatypelist.cpp
src/plugins/directshow/player/directshowmediatypelist.h
src/plugins/directshow/player/directshowpinenum.h