Mercurial > mplayer.hg
changeset 22446:b91e394da1c2
remove pointless cast to int
author | reimar |
---|---|
date | Mon, 05 Mar 2007 12:53:43 +0000 |
parents | f2bdb74fc3e7 |
children | e2b4f45ad2d1 |
files | libmpdemux/demux_avs.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_avs.c Mon Mar 05 12:02:57 2007 +0000 +++ b/libmpdemux/demux_avs.c Mon Mar 05 12:53:43 2007 +0000 @@ -379,7 +379,7 @@ case DEMUXER_CTRL_GET_PERCENT_POS: { if (!AVS->video_info->num_frames) return DEMUXER_CTRL_DONTKNOW; - *((int *)arg) = (int) (AVS->frameno * 100 / AVS->video_info->num_frames); + *((int *)arg) = AVS->frameno * 100 / AVS->video_info->num_frames; return DEMUXER_CTRL_OK; } default: