changeset 35236:2080c7f8e74f

Remove pointless unused variable.
author reimar
date Thu, 01 Nov 2012 22:00:48 +0000
parents b5b0c0458d2c
children 42613bcd1bfe
files libmpdemux/muxer_mpeg.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Thu Nov 01 21:59:15 2012 +0000
+++ b/libmpdemux/muxer_mpeg.c	Thu Nov 01 22:00:48 2012 +0000
@@ -1496,7 +1496,6 @@
 	muxer_stream_t *s, *vs, *as;
 	muxer_headers_t *vpriv = NULL, *apriv = NULL;
 	muxer_priv_t *priv = (muxer_priv_t *) muxer->priv;
-	double duration;
 	uint64_t iduration, iaduration;
 
 	/*
@@ -1534,11 +1533,9 @@
 
 		vpriv = (muxer_headers_t*) vs->priv;
 
-		duration = 0;
 		iduration = 0;
 		for(i = 0; i < n; i++)
 			iduration += vpriv->framebuf[i].idur;
-		duration = (double) (iduration / 27000000.0);
 
 		if(as != NULL)
 		{