summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-09-04 09:04:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-09-04 09:04:52 +0000
commit3723f01c141b5ef95c06a1721ac861564db2140f (patch)
treeefcc8cb5ca83f03a009eac2575dca00515c2c175
parent42661adfe61caa52b9b2e533f4a42356b1b5e162 (diff)
fixme note
Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/oggvorbis.c1
1 files changed, 1 insertions, 0 deletions
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);