[MPlayer-cvslog] r29677 - trunk/libmpdemux/demux_audio.c

reimar subversion at mplayerhq.hu
Mon Sep 14 10:51:01 CEST 2009


Author: reimar
Date: Mon Sep 14 10:51:00 2009
New Revision: 29677

Log:
Get rid of useless indirection and use the demuxer argument directly instead of
ds->demuxer.
This makes it also work again with -audiofile without having to add more hacks to
demux_demuxers.

Modified:
   trunk/libmpdemux/demux_audio.c

Modified: trunk/libmpdemux/demux_audio.c
==============================================================================
--- trunk/libmpdemux/demux_audio.c	Mon Sep 14 10:29:18 2009	(r29676)
+++ trunk/libmpdemux/demux_audio.c	Mon Sep 14 10:51:00 2009	(r29677)
@@ -528,11 +528,10 @@ static int demux_audio_open(demuxer_t* d
 }
 
 
-static int demux_audio_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) {
+static int demux_audio_fill_buffer(demuxer_t *demux, demux_stream_t *ds) {
   int l;
   demux_packet_t* dp;
   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;


More information about the MPlayer-cvslog mailing list