Handle reuse of limelight-common for another stream

This commit is contained in:
Cameron Gutman
2014-08-30 16:39:26 -07:00
parent cff7ec1d10
commit dc926946dd
3 changed files with 21 additions and 7 deletions
+3
View File
@@ -70,6 +70,7 @@ void destroyInputStream(void) {
if (oaesContext != NULL)
{
oaes_free(oaesContext);
oaesContext = NULL;
}
entry = LbqDestroyLinkedBlockingQueue(&packetQueue);
@@ -80,6 +81,8 @@ void destroyInputStream(void) {
free(entry);
entry = nextEntry;
}
initialized = 0;
}
static void inputSendThreadProc(void* context) {