dvbsubtitle: free avcodec context in destructor

Origin commit data
------------------
Branch: ni/coolstream
Commit: 227bf9f2e8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-31 (Wed, 31 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-10-31 22:57:51 +01:00
committed by [CST] Focus
parent c8375fc05c
commit d7287af35d

View File

@@ -200,7 +200,9 @@ cDvbSubtitleConverter::cDvbSubtitleConverter(void)
cDvbSubtitleConverter::~cDvbSubtitleConverter()
{
delete bitmaps;
avcodec_close(avctx);
av_free(avctx);
delete bitmaps;
}
void cDvbSubtitleConverter::Lock(void)