[FFmpeg-cvslog] ffplay: free subtitle pictures on exit
Marton Balint
git at videolan.org
Fri Aug 9 07:03:23 CEST 2013
ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sun Jul 28 17:32:54 2013 +0200| [9f120e034fbec41837e1fc04d4cc4bfb198695e3] | committer: Marton Balint
ffplay: free subtitle pictures on exit
Signed-off-by: Marton Balint <cus at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f120e034fbec41837e1fc04d4cc4bfb198695e3
---
ffplay.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffplay.c b/ffplay.c
index d462eee..cfb927e 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list