1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

no timestamps are being input in the encoder, thus don't output any

this fixes muxing to libvorbis, and possibly others

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
This commit is contained in:
benjamin.drung@gmail.com
2014-05-23 20:41:14 +00:00
parent 5ce748d0b1
commit fb9bbb3385

View File

@@ -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);