changeset 29837:569856f892d9

Remove useless cast
author reimar
date Tue, 10 Nov 2009 16:15:39 +0000
parents c9c1f9aaaff8
children ccb6a75dedf7
files libmpdemux/demux_asf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_asf.c	Tue Nov 10 14:52:56 2009 +0000
+++ b/libmpdemux/demux_asf.c	Tue Nov 10 16:15:39 2009 +0000
@@ -613,7 +613,7 @@
 */
     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: