mirror of https://github.com/mpv-player/mpv
Remove useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29879 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
10c5301519
commit
af9c1fbda3
|
@ -613,7 +613,7 @@ static int demux_asf_control(demuxer_t *demuxer,int cmd, void *arg){
|
|||
*/
|
||||
switch(cmd) {
|
||||
case DEMUXER_CTRL_GET_TIME_LENGTH:
|
||||
*((double *)arg)=(double)(asf->movielength);
|
||||
*((double *)arg)=asf->movielength;
|
||||
return DEMUXER_CTRL_OK;
|
||||
|
||||
case DEMUXER_CTRL_GET_PERCENT_POS:
|
||||
|
|
Loading…
Reference in New Issue