Mercurial > mplayer.hg
changeset 29635:c7d88fcfd784
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.
author | reimar |
---|---|
date | Mon, 14 Sep 2009 08:51:00 +0000 |
parents | 342a78c13eeb |
children | eb925f17f9a8 |
files | libmpdemux/demux_audio.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c Mon Sep 14 08:29:18 2009 +0000 +++ b/libmpdemux/demux_audio.c Mon Sep 14 08:51:00 2009 +0000 @@ -528,11 +528,10 @@ } -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;