diff --git a/src/export/ExportFFmpeg.cpp b/src/export/ExportFFmpeg.cpp index 659ac088d..118280cb4 100644 --- a/src/export/ExportFFmpeg.cpp +++ b/src/export/ExportFFmpeg.cpp @@ -578,6 +578,7 @@ static int encode_audio(AVCodecContext *avctx, AVPacket *pkt, int nFifoBytes, in return ret; } + pkt->dts = pkt->pts = AV_NOPTS_VALUE; // we dont set frame.pts thus dont trust the AVPacket ts av_frame_free(&frame); av_freep(&samples);