mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
dvbsubtitle: free avcodec context in destructor
This commit is contained in:
@@ -229,7 +229,9 @@ cDvbSubtitleConverter::cDvbSubtitleConverter(void)
|
||||
|
||||
cDvbSubtitleConverter::~cDvbSubtitleConverter()
|
||||
{
|
||||
delete bitmaps;
|
||||
avcodec_close(avctx);
|
||||
av_free(avctx);
|
||||
delete bitmaps;
|
||||
}
|
||||
|
||||
void cDvbSubtitleConverter::Lock(void)
|
||||
|
Reference in New Issue
Block a user