[MPlayer-cvslog] r22464 - trunk/libmpdemux/demux_avs.c
reimar
subversion at mplayerhq.hu
Mon Mar 5 13:53:43 CET 2007
Author: reimar
Date: Mon Mar 5 13:53:43 2007
New Revision: 22464
Modified:
trunk/libmpdemux/demux_avs.c
Log:
remove pointless cast to int
Modified: trunk/libmpdemux/demux_avs.c
==============================================================================
--- trunk/libmpdemux/demux_avs.c (original)
+++ trunk/libmpdemux/demux_avs.c Mon Mar 5 13:53:43 2007
@@ -379,7 +379,7 @@ static int demux_avs_control(demuxer_t *
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:
More information about the MPlayer-cvslog
mailing list