mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
fixme note
Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
42661adfe6
commit
3723f01c14
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user