Mercurial > mplayer.hg
changeset 12375:48a655d09522
and more and more stupidity
author | rfelker |
---|---|
date | Sat, 01 May 2004 18:30:38 +0000 |
parents | b4c0a66ce67a |
children | d9ff6528514d |
files | libmpdemux/tvi_dummy.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/tvi_dummy.c Sat May 01 18:25:24 2004 +0000 +++ b/libmpdemux/tvi_dummy.c Sat May 01 18:30:38 2004 +0000 @@ -58,28 +58,28 @@ case TVI_CONTROL_IS_VIDEO: return(TVI_CONTROL_TRUE); case TVI_CONTROL_VID_GET_FORMAT: -// (int)*(void **)arg = IMGFMT_YV12; +// *(int *)arg = IMGFMT_YV12; *(int *)arg = IMGFMT_YV12; return(TVI_CONTROL_TRUE); case TVI_CONTROL_VID_SET_FORMAT: { -// int req_fmt = (int)*(void **)arg; +// int req_fmt = *(int *)arg; int req_fmt = *(int *)arg; if (req_fmt != IMGFMT_YV12) return(TVI_CONTROL_FALSE); return(TVI_CONTROL_TRUE); } case TVI_CONTROL_VID_SET_WIDTH: - priv->width = (int)*(void **)arg; + priv->width = *(int *)arg; return(TVI_CONTROL_TRUE); case TVI_CONTROL_VID_GET_WIDTH: - (int)*(void **)arg = priv->width; + *(int *)arg = priv->width; return(TVI_CONTROL_TRUE); case TVI_CONTROL_VID_SET_HEIGHT: - priv->height = (int)*(void **)arg; + priv->height = *(int *)arg; return(TVI_CONTROL_TRUE); case TVI_CONTROL_VID_GET_HEIGHT: - (int)*(void **)arg = priv->height; + *(int *)arg = priv->height; return(TVI_CONTROL_TRUE); case TVI_CONTROL_VID_CHK_WIDTH: case TVI_CONTROL_VID_CHK_HEIGHT: