Commit 198e55bf authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '5aa710f4'

* commit '5aa710f4':
  vorbisenc: add missing parenthesis

Conflicts:
	libavcodec/vorbisenc.c

See: f72b735dMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents b882079b 5aa710f4
......@@ -1094,8 +1094,9 @@ static int vorbis_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
if (frame) {
if (frame->pts != AV_NOPTS_VALUE)
avpkt->pts = ff_samples_to_time_base(avctx, frame->pts);
} else
} else {
avpkt->pts = venc->next_pts;
}
if (avpkt->pts != AV_NOPTS_VALUE)
venc->next_pts = avpkt->pts + avpkt->duration;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment