[MPlayer-cvslog] r34963 - trunk/libvo/vo_corevideo.m

reimar subversion at mplayerhq.hu
Wed May 23 21:17:30 CEST 2012


Author: reimar
Date: Wed May 23 21:17:30 2012
New Revision: 34963

Log:
Remove unnecessary if, free can be called unconditionally.

Modified:
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Tue May 22 23:14:55 2012	(r34962)
+++ trunk/libvo/vo_corevideo.m	Wed May 23 21:17:30 2012	(r34963)
@@ -153,8 +153,7 @@ static void free_file_specific(void)
 			mp_msg(MSGT_VO, MSGL_FATAL, "[vo_corevideo] uninit: shm_unlink failed. Error: %s\n", strerror(errno));
     } else {
         free(image_datas[0]);
-        if (vo_doublebuffering)
-            free(image_datas[1]);
+        free(image_datas[1]);
         image_datas[0] = NULL;
         image_datas[1] = NULL;
         image_data = NULL;


More information about the MPlayer-cvslog mailing list