[MPlayer-cvslog] CVS: main/libmpdemux muxer_mpeg.c,1.60,1.61
Nico Sabbi CVS
syncmail at mplayerhq.hu
Mon Apr 24 16:23:06 CEST 2006
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv26129
Modified Files:
muxer_mpeg.c
Log Message:
removed more unused stuff
Index: muxer_mpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_mpeg.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- muxer_mpeg.c 24 Apr 2006 14:04:10 -0000 1.60
+++ muxer_mpeg.c 24 Apr 2006 14:23:03 -0000 1.61
@@ -2271,23 +2271,19 @@
static void mpegfile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts_arg, double pts_arg){
- size_t ptr=0, sz = 0;
- uint64_t pts, tmp;
+ size_t sz = 0;
+ uint64_t tmp;
muxer_t *muxer = s->muxer;
muxer_priv_t *priv = (muxer_priv_t *)muxer->priv;
muxer_headers_t *spriv = (muxer_headers_t*) s->priv;
- FILE *f;
float fps;
uint32_t stream_format, nf;
-
- f = muxer->file;
if(s->buffer == NULL)
return;
if(len == -1)
return;
- pts = 0;
if (s->type == MUXER_TYPE_VIDEO) { // try to recognize frame type...
fps = (float) s->h.dwRate/ (float) s->h.dwScale;
spriv->type = 1;
@@ -2358,7 +2354,6 @@
{
parse_audio(s, 0, &nf, &fake_timer, priv->init_adelay, priv->drop);
spriv->vframes += nf;
- sz = max(len, 2 * priv->packet_size);
if(! spriv->vframes)
mp_msg(MSGT_MUXER, MSGL_INFO, "AINIT: %.3lf\r\n", (double) spriv->last_pts/27000000.0f);
}
More information about the MPlayer-cvslog
mailing list