From 22d4f40fb960c639cd8787de580341f383e9e023 Mon Sep 17 00:00:00 2001 From: martii Date: Sun, 7 Jul 2013 16:20:01 +0200 Subject: [PATCH] libeplayer3/container_ffmpeg: revert swr_next_pts call --- libeplayer3/container/container_ffmpeg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libeplayer3/container/container_ffmpeg.c b/libeplayer3/container/container_ffmpeg.c index bfa0cc0..70a9301 100644 --- a/libeplayer3/container/container_ffmpeg.c +++ b/libeplayer3/container/container_ffmpeg.c @@ -730,9 +730,6 @@ static void FFMPEGThread(Context_t *context) { if (context->output->audio->Write(context, &avOut) < 0) ffmpeg_err("writing data to audio device failed\n"); av_freep(&output); -#ifdef USE_LIBSWRESAMPLE - currentAudioPts = pts = swr_next_pts(swr, INT64_MIN); -#endif } } else if (audioTrack->have_aacheader == 1)