fb: do not segfault when OpenDisplay() fails in Create().
When the plugin fails to open the framebuffer, then the mmap might not have been done yet. In this case a segmentation fault will occur when memset is called on p_sys->p_video. (p_sys->p_video is either NULL, or MMAP_FAILED.)
Showing
Please register or sign in to comment