diff options
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r-- | libvo/vo_dxr3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 898ee96756..b824f8b71e 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -437,13 +437,13 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_ mp_tmsg(MSGT_VO,MSGL_ERR, "[VO_DXR3] out of memory\n"); return -1; } - spued = (encodedata *) malloc(sizeof(encodedata)); + spued = malloc(sizeof(encodedata)); if (spued == NULL) { free( osdpicbuf ); mp_tmsg(MSGT_VO,MSGL_ERR, "[VO_DXR3] out of memory\n"); return -1; } - spubuf = (encodedata *) malloc(sizeof(encodedata)); + spubuf = malloc(sizeof(encodedata)); if (spubuf == NULL) { free( osdpicbuf ); free( spued ); @@ -903,7 +903,7 @@ static overlay_t *overlay_init(int dev) { overlay_t *o; - o = (overlay_t *) malloc(sizeof(overlay_t)); + o = malloc(sizeof(overlay_t)); if(!o) return NULL; |