[MPlayer-cvslog] r32682 - trunk/libmpcodecs/dec_video.c
reimar
subversion at mplayerhq.hu
Sat Dec 11 15:40:39 CET 2010
Author: reimar
Date: Sat Dec 11 15:40:39 2010
New Revision: 32682
Log:
Reset mpvdec to NULL after uninit.
Modified:
trunk/libmpcodecs/dec_video.c
Modified: trunk/libmpcodecs/dec_video.c
==============================================================================
--- trunk/libmpcodecs/dec_video.c Sat Dec 11 14:56:19 2010 (r32681)
+++ trunk/libmpcodecs/dec_video.c Sat Dec 11 15:40:39 2010 (r32682)
@@ -176,6 +176,7 @@ void uninit_video(sh_video_t *sh_video)
return;
mp_msg(MSGT_DECVIDEO, MSGL_V, MSGTR_UninitVideoStr, sh_video->codec->drv);
mpvdec->uninit(sh_video);
+ mpvdec = NULL;
#ifdef CONFIG_DYNAMIC_PLUGINS
if (sh_video->dec_handle)
dlclose(sh_video->dec_handle);
More information about the MPlayer-cvslog
mailing list