[Vorbis] Patch: ogg123 playing >2GB sized files

Michael Smith msmith
Tue Jul 20 18:35:18 PDT 2004


On Monday 19 July 2004 21:57, Barry Bouwsma wrote:

> --- lib/vorbisfile.c-DIST	Wed Sep 17 04:17:35 2003
> +++ lib/vorbisfile.c	Thu Jun 17 12:17:23 2004
> @@ -541,10 +548,14 @@
>        }
>      }
>
> +/* XXX printf("Get next page...\n"); */
> +
>      if(vf->ready_state>=OPENED){
> -      int ret;
> +  ogg_int64_t ret;
> +/* XXX HACK       int ret; */
>        if(!readp)return(0);
>        if((ret=_get_next_page(vf,&og,-1))<0){
> +/* XXX printf("Get next page failed, ret is %d.\n", ret); */
>  	return(OV_EOF); /* eof.
>  			   leave unitialized */
>        }

Thanks a lot. I've committed the fix.

Mike



More information about the Vorbis mailing list