Commit 3beac049 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

replicated the fix for Ptr<CvCapture> bug

parent 905e5f17
...@@ -52,10 +52,10 @@ ...@@ -52,10 +52,10 @@
namespace cv namespace cv
{ {
template<> inline void Ptr<CvCapture>::delete_obj() template<> void Ptr<CvCapture>::delete_obj()
{ cvReleaseCapture(&obj); } { cvReleaseCapture(&obj); }
template<> inline void Ptr<CvVideoWriter>::delete_obj() template<> void Ptr<CvVideoWriter>::delete_obj()
{ cvReleaseVideoWriter(&obj); } { cvReleaseVideoWriter(&obj); }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment