02/08/20 19:35 C1Epl3BU
1201a1359,1376
> }
> #endif
> #ifdef HAVE_VORBIS
> if(sh_audio && mux_a->codec==ACODEC_VORBIS) {
> /* clean up and exit. vorbis_info_clear() must be called last */
> ogg_stream_clear(&ov->os);
> vorbis_block_clear(&ov->vb);
> vorbis_dsp_clear(&ov->vd);
> vorbis_comment_clear(&ov->vc);
> vorbis_info_clear(&ov->vi);
>
> mux_a->h.dwSampleSize=1;
> mux_a->h.dwLength=mux_a->size;
> mux_a->h.dwRate=mux_a->wf->nAvgBytesPerSec;
> mux_a->h.dwScale=1;
> mux_a->wf->nBlockAlign=1;
> printf("\n\nvorbis audio: %d bytes/sec, %d bytes/block\n",
> mux_a->h.dwRate,(mux_a->size+(mux_a->h.dwLength>>1))/mux_a->h.dwLength);