[MPlayer-cvslog] r35330 - trunk/libmpdemux/muxer_mpeg.c

reimar subversion at mplayerhq.hu
Thu Nov 1 23:00:48 CET 2012


Author: reimar
Date: Thu Nov  1 23:00:48 2012
New Revision: 35330

Log:
Remove pointless unused variable.

Modified:
   trunk/libmpdemux/muxer_mpeg.c

Modified: trunk/libmpdemux/muxer_mpeg.c
==============================================================================
--- trunk/libmpdemux/muxer_mpeg.c	Thu Nov  1 22:59:15 2012	(r35329)
+++ trunk/libmpdemux/muxer_mpeg.c	Thu Nov  1 23:00:48 2012	(r35330)
@@ -1496,7 +1496,6 @@ static int flush_buffers(muxer_t *muxer,
 	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 @@ static int flush_buffers(muxer_t *muxer,
 
 		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)
 		{


More information about the MPlayer-cvslog mailing list