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)