projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42661ad
)
fixme note
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 4 Sep 2005 09:04:52 +0000
(09:04 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 4 Sep 2005 09:04:52 +0000
(09:04 +0000)
Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/oggvorbis.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/oggvorbis.c
b/libavcodec/oggvorbis.c
index
4e4ae25
..
c32a348
100644
(file)
--- 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);