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:
committed by
[CST] Focus
parent
be1b73b7a0
commit
227bf9f2e8
@@ -200,7 +200,9 @@ cDvbSubtitleConverter::cDvbSubtitleConverter(void)
|
|||||||
|
|
||||||
cDvbSubtitleConverter::~cDvbSubtitleConverter()
|
cDvbSubtitleConverter::~cDvbSubtitleConverter()
|
||||||
{
|
{
|
||||||
delete bitmaps;
|
avcodec_close(avctx);
|
||||||
|
av_free(avctx);
|
||||||
|
delete bitmaps;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cDvbSubtitleConverter::Lock(void)
|
void cDvbSubtitleConverter::Lock(void)
|
||||||
|
Reference in New Issue
Block a user