summaryrefslogtreecommitdiff
path: root/libavcodec/oggvorbis.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-09-02 17:12:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-09-02 17:12:16 +0000
commit16beae15f3b610dfaa1d39d1effa25816c4185ae (patch)
treeae5296b33822681a2398bd9f6acfec5953ac97df /libavcodec/oggvorbis.c
parent1ff8f2b36adcc0c0b3dd21f2de8886244a9d8675 (diff)
downloadffmpeg-16beae15f3b610dfaa1d39d1effa25816c4185ae.tar.gz
setting timebase in the encoder doesnt seem like a good idea
Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/oggvorbis.c')
-rw-r--r--libavcodec/oggvorbis.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/oggvorbis.c b/libavcodec/oggvorbis.c
index c762e4c28d..4d23cba5f9 100644
--- a/libavcodec/oggvorbis.c
+++ b/libavcodec/oggvorbis.c
@@ -92,8 +92,6 @@ static int oggvorbis_encode_init(AVCodecContext *avccontext) {
vorbis_comment_clear(&context->vc);
avccontext->frame_size = OGGVORBIS_FRAME_SIZE ;
- avccontext->time_base.den = avccontext->sample_rate;
- avccontext->time_base.num = 1;
avccontext->coded_frame= avcodec_alloc_frame();
avccontext->coded_frame->key_frame= 1;