Mercurial > mplayer.hg
changeset 28100:506dd3b6a519
Remove resync_audio_stream() from demux_nut seek function
author | ods15 |
---|---|
date | Fri, 12 Dec 2008 05:07:18 +0000 |
parents | 3d88e7067d06 |
children | 231f008859b9 |
files | libmpdemux/demux_nut.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_nut.c Fri Dec 12 04:58:54 2008 +0000 +++ b/libmpdemux/demux_nut.c Fri Dec 12 05:07:18 2008 +0000 @@ -240,7 +240,6 @@ static void demux_seek_nut(demuxer_t * demuxer, float time_pos, float audio_delay, int flags) { nut_context_tt * nut = ((nut_priv_tt*)demuxer->priv)->nut; nut_priv_tt * priv = demuxer->priv; - sh_audio_t * sh_audio = demuxer->audio->sh; int nutflags = 0; int ret; const int tmp[] = { 0, -1 }; @@ -258,7 +257,6 @@ while ((ret = nut_seek(nut, time_pos, nutflags, tmp)) == NUT_ERR_EAGAIN); priv->last_pts = -1; if (ret) mp_msg(MSGT_HEADER, MSGL_ERR, "NUT error: %s\n", nut_error(ret)); - if (sh_audio) resync_audio_stream(sh_audio); demuxer->filepos = stream_tell(demuxer->stream); }