[MPlayer-cvslog] r24612 - trunk/libmpdemux/demux_audio.c
reimar
subversion at mplayerhq.hu
Tue Sep 25 00:21:14 CEST 2007
Author: reimar
Date: Tue Sep 25 00:21:14 2007
New Revision: 24612
Log:
Simplify: initialize at declaration at the start of the function
Modified:
trunk/libmpdemux/demux_audio.c
Modified: trunk/libmpdemux/demux_audio.c
==============================================================================
--- trunk/libmpdemux/demux_audio.c (original)
+++ trunk/libmpdemux/demux_audio.c Tue Sep 25 00:21:14 2007
@@ -546,20 +546,15 @@ static int demux_audio_open(demuxer_t* d
static int demux_audio_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) {
int l;
demux_packet_t* dp;
- sh_audio_t* sh_audio;
- demuxer_t* demux;
- da_priv_t* priv;
- stream_t* s;
- sh_audio = ds->sh;
- demux = ds->demuxer;
- priv = demux->priv;
- s = demux->stream;
+ sh_audio_t* sh_audio = ds->sh;
+ demuxer_t* demux = ds->demuxer;
+ da_priv_t* priv = demux->priv;
+ double this_pts = priv->next_pts;
+ stream_t* s = demux->stream;
if(s->eof)
return 0;
- double this_pts = priv->next_pts;
-
switch(priv->frmt) {
case MP3 :
while(1) {
More information about the MPlayer-cvslog
mailing list