libeplayer3/container_ffmpeg: revert swr_next_pts call

This commit is contained in:
martii
2013-07-07 16:20:01 +02:00
parent 83756d1f9b
commit 42018c2f9c

View File

@@ -728,9 +728,6 @@ static void FFMPEGThread(Context_t *context) {
if (context->output->audio->Write(context, &avOut) < 0) if (context->output->audio->Write(context, &avOut) < 0)
ffmpeg_err("writing data to audio device failed\n"); ffmpeg_err("writing data to audio device failed\n");
av_freep(&output); av_freep(&output);
#ifdef USE_LIBSWRESAMPLE
currentAudioPts = pts = swr_next_pts(swr, INT64_MIN);
#endif
} }
} }
else if (audioTrack->have_aacheader == 1) else if (audioTrack->have_aacheader == 1)