diff options
author | Marton Balint <cus@passwd.hu> | 2013-07-28 17:32:54 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2013-08-09 00:16:13 +0200 |
commit | 9f120e034fbec41837e1fc04d4cc4bfb198695e3 (patch) | |
tree | 27d0b1873a21a1301f5de4eb3a9be02eaf814223 | |
parent | 3b2e99fe9ec46580165daa233c273579bde1e913 (diff) | |
download | ffmpeg-9f120e034fbec41837e1fc04d4cc4bfb198695e3.tar.gz |
ffplay: free subtitle pictures on exit
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |