[MPlayer-cvslog] r38378 - trunk/libmpcodecs/dec_video.c

reimar subversion at mplayerhq.hu
Fri Aug 26 14:44:47 EEST 2022


Author: reimar
Date: Fri Aug 26 14:44:47 2022
New Revision: 38378

Log:
dec_video.c: set vfilter to NULL after uninit.

Ensures it is not used by accident.

Modified:
   trunk/libmpcodecs/dec_video.c

Modified: trunk/libmpcodecs/dec_video.c
==============================================================================
--- trunk/libmpcodecs/dec_video.c	Fri Aug 26 14:39:39 2022	(r38377)
+++ trunk/libmpcodecs/dec_video.c	Fri Aug 26 14:44:47 2022	(r38378)
@@ -183,6 +183,7 @@ void uninit_video(sh_video_t *sh_video)
         dlclose(sh_video->dec_handle);
 #endif
     vf_uninit_filter_chain(sh_video->vfilter);
+    sh_video->vfilter = NULL;
     eosd_uninit();
     sh_video->initialized = 0;
 }


More information about the MPlayer-cvslog mailing list