summaryrefslogtreecommitdiff
path: root/src/plugins/directshow/player/videosurfacefilter.cpp
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2018-04-24 10:52:43 +0200
committerOliver Wolff <oliver.wolff@qt.io>2018-04-24 11:57:29 +0000
commit6a2f332821ea3d8d4f6c11050d592aef0ad4df7f (patch)
treefea34807d850933f3f77fe90cdea56f568dab9c9 /src/plugins/directshow/player/videosurfacefilter.cpp
parentcebad2c2a97eb29b81664cd8027121642d0ec93b (diff)
downloadqtmultimedia-6a2f332821ea3d8d4f6c11050d592aef0ad4df7f.tar.gz
winrt: Do not use CoTaskMemFree as image cleanup function
CoTaskMemFree is declared __stdcall. This declaration causes a stack maintenance behavior (called function pops its own arguments from the stack) that breaks release builds and leads to crashes. By wrapping that function into our own function (which is by default __cdecl) we get the wanted stack maintenance behavior (calling function pops arguments from the stack) and thus avoid these crashes. Task-number: QTBUG-63016 Change-Id: Ibd36f4fc2680351bf41c2991e9b3f1723bb19eab Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/plugins/directshow/player/videosurfacefilter.cpp')
0 files changed, 0 insertions, 0 deletions