dvbsubtitle: free avcodec context in destructor

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5394321ea8
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
parent 7b13a915a2
commit 2d7685ca2c

View File

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