setting timebase in the encoder doesnt seem like a good idea
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Sep 2005 17:12:16 +0000 (17:12 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Sep 2005 17:12:16 +0000 (17:12 +0000)
Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/oggvorbis.c

index c762e4c..4d23cba 100644 (file)
@@ -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;