Correction for own recent commit -- didn't know it's unsupported in

MSVC to do such things.
This commit is contained in:
Sergey Sharybin 2011-10-04 15:10:24 +00:00
parent f618bc5aca
commit ffe9824011

@ -573,7 +573,8 @@ static AVStream* alloc_audio_stream(RenderData *rd, int codec_id, AVFormatContex
/* need to prevent floating point exception when using vorbis audio codec,
initialize this value in the same way as it's done in FFmpeg iteslf (sergey) */
st->codec->time_base = (AVRational){1, st->codec->sample_rate};
st->codec->time_base.num= 1;
st->codec->time_base.den= st->codec->sample_rate;
audio_outbuf_size = FF_MIN_BUFFER_SIZE;