We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bd3b50 commit f66a554Copy full SHA for f66a554
src/AvTranscoder/transform/VideoTransform.cpp
@@ -31,6 +31,11 @@ VideoTransform::VideoTransform()
31
{
32
}
33
34
+VideoTransform::~VideoTransform()
35
+{
36
+ sws_freeContext( _imageConvertContext );
37
+}
38
+
39
bool VideoTransform::init( const Frame& srcFrame, const Frame& dstFrame )
40
41
const VideoFrame& src = static_cast<const VideoFrame&>( srcFrame );
src/AvTranscoder/transform/VideoTransform.hpp
@@ -16,6 +16,7 @@ class AvExport VideoTransform : public ITransform
16
17
public:
18
VideoTransform();
19
+ ~VideoTransform();
20
21
void convert( const Frame& srcFrame, Frame& dstFrame );
22
0 commit comments