Mercurial > mplayer.hg
diff libmpcodecs/dec_video.c @ 32595:fc443754da3d
Reset mpvdec to NULL after uninit.
author | reimar |
---|---|
date | Sat, 11 Dec 2010 14:40:39 +0000 |
parents | 42ab538db6b0 |
children | 277ec491a8a7 |
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c Sat Dec 11 13:56:19 2010 +0000 +++ b/libmpcodecs/dec_video.c Sat Dec 11 14:40:39 2010 +0000 @@ -176,6 +176,7 @@ 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);