From 3723f01c141b5ef95c06a1721ac861564db2140f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 4 Sep 2005 09:04:52 +0000 Subject: [PATCH] fixme note Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/oggvorbis.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/oggvorbis.c b/libavcodec/oggvorbis.c index 4e4ae2548c..c32a348243 100644 --- a/libavcodec/oggvorbis.c +++ b/libavcodec/oggvorbis.c @@ -146,6 +146,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avccontext, l= op2->bytes; avccontext->coded_frame->pts= av_rescale_q(op2->granulepos, (AVRational){1, avccontext->sample_rate}, avccontext->time_base); + //FIXME we should reorder the user supplied pts and not assume that they are spaced by 1/sample_rate memcpy(packets, op2->packet, l); context->buffer_index -= l + sizeof(ogg_packet);