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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28017 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-11-24 08:43:13 +00:00
parent 4daa28d0a5
commit 582bb322d7
2 changed files with 1 additions and 2 deletions

View File

@ -884,7 +884,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
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;

View File

@ -213,7 +213,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
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);