Commit 1e23c3cb authored by Rafaël Carré's avatar Rafaël Carré

directfb: remove obvious comments

parent c2c12913
...@@ -74,12 +74,10 @@ static int Open(vlc_object_t *object) ...@@ -74,12 +74,10 @@ static int Open(vlc_object_t *object)
vout_display_t *vd = (vout_display_t *)object; vout_display_t *vd = (vout_display_t *)object;
vout_display_sys_t *sys; vout_display_sys_t *sys;
/* Allocate structure */
vd->sys = sys = calloc(1, sizeof(*sys)); vd->sys = sys = calloc(1, sizeof(*sys));
if (!sys) if (!sys)
return VLC_ENOMEM; return VLC_ENOMEM;
/* Init DirectFB */
if (DirectFBInit(NULL,NULL) != DFB_OK) { if (DirectFBInit(NULL,NULL) != DFB_OK) {
msg_Err(vd, "Cannot init DirectFB"); msg_Err(vd, "Cannot init DirectFB");
free(sys); free(sys);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment