Browse Source

ffplay: free subtitle pictures on exit

Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n2.1
Marton Balint 12 years ago
parent
commit
9f120e034f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ffplay.c

+ 2
- 0
ffplay.c View File

@@ -1018,6 +1018,8 @@ static void stream_close(VideoState *is)
vp->bmp = NULL;
}
}
for (i = 0; i < SUBPICTURE_QUEUE_SIZE; i++)
free_subpicture(&is->subpq[i]);
SDL_DestroyMutex(is->pictq_mutex);
SDL_DestroyCond(is->pictq_cond);
SDL_DestroyMutex(is->subpq_mutex);


Loading…
Cancel
Save