Commit 29457e30 authored by michael's avatar michael

fixme note


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4557 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1ad3e045
...@@ -146,6 +146,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avccontext, ...@@ -146,6 +146,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avccontext,
l= op2->bytes; l= op2->bytes;
avccontext->coded_frame->pts= av_rescale_q(op2->granulepos, (AVRational){1, avccontext->sample_rate}, avccontext->time_base); 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); memcpy(packets, op2->packet, l);
context->buffer_index -= l + sizeof(ogg_packet); context->buffer_index -= l + sizeof(ogg_packet);
......
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