From Guillaume Taze, "Here are some bugs fix :
- missing copy attribute _referenceFrame in ClipNode in copy constructor - checked iterators against the end in osgText - close codec context in ffmpeg plugin to avoid memory leak "
This commit is contained in:
@@ -67,6 +67,11 @@ FFmpegDecoderVideo::~FFmpegDecoderVideo()
|
||||
}
|
||||
#endif
|
||||
|
||||
if (m_context)
|
||||
{
|
||||
avcodec_close(m_context);
|
||||
}
|
||||
|
||||
OSG_INFO<<"Destructed FFmpegDecoderVideo"<<std::endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user