[MPlayer-cvslog] r28017 - in trunk/libvo: vo_fbdev.c vo_wii.c

diego subversion at mplayerhq.hu
Mon Nov 24 09:43:13 CET 2008


Author: diego
Date: Mon Nov 24 09:43:13 2008
New Revision: 28017

Log:
Remove useless setting of frame_buffer to NULL as suggested by Reimar.


Modified:
   trunk/libvo/vo_fbdev.c
   trunk/libvo/vo_wii.c

Modified: trunk/libvo/vo_fbdev.c
==============================================================================
--- trunk/libvo/vo_fbdev.c	(original)
+++ trunk/libvo/vo_fbdev.c	Mon Nov 24 09:43:13 2008
@@ -884,7 +884,7 @@ static int config(uint32_t width, uint32
 
     fb_line_len = fb_finfo.line_length;
     fb_size     = fb_finfo.smem_len;
-    frame_buffer = NULL;
+
 #ifdef CONFIG_VIDIX
     if (vidix_name) {
         unsigned image_width, image_height, x_offset, y_offset;

Modified: trunk/libvo/vo_wii.c
==============================================================================
--- trunk/libvo/vo_wii.c	(original)
+++ trunk/libvo/vo_wii.c	Mon Nov 24 09:43:13 2008
@@ -213,7 +213,6 @@ static int config(uint32_t width, uint32
 
   fb_line_len = fb_finfo.line_length;
   fb_size     = fb_finfo.smem_len;
-  frame_buffer = NULL;
 
   frame_buffer = (uint8_t *) mmap(0, fb_size, PROT_READ | PROT_WRITE,
                                   MAP_SHARED, fb_dev_fd, 0);



More information about the MPlayer-cvslog mailing list