From: Michael Niedermayer Date: Fri, 2 Sep 2005 17:12:16 +0000 (+0000) Subject: setting timebase in the encoder doesnt seem like a good idea X-Git-Tag: v0.5~13614 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16beae15f3b610dfaa1d39d1effa25816c4185ae;p=platform%2Fupstream%2Flibav.git setting timebase in the encoder doesnt seem like a good idea Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/oggvorbis.c b/libavcodec/oggvorbis.c index c762e4c..4d23cba 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;