search for: _get_prev_page

Displaying 5 results from an estimated 5 matches for "_get_prev_page".

2001 Aug 30
1
Problems with vorbisfile and files smaller than CHUNKSIZE
...39;t have any of the problems that vorbisfile has, and decodes even the shortest Ogg files without problems. I've not yet been able to resolve this problem fully, but did find some obvious problems in vorbisfile.c relating to small files, such as the following code fragment at the start of the _get_prev_page() function: tatic long _get_prev_page(OggVorbis_File *vf,ogg_page *og){ long begin=vf->offset; long ret; int offset=-1; while(offset==-1){ begin-=CHUNKSIZE; _seek_helper(vf,begin); ... Initially, _get_prev_page() is called from _open_seekable2(), after seeking to the end of th...
2000 Jun 27
1
vorbis-tools/Makefile.in glitch...
I'm updating my vorbis rpm spec file, and when I try to do "make -C vorbis-tools ogg123", due to rpm's build environment, I get lots of: gcc ogg123.o -o ogg123 -lm ../lib/libvorbis.a ../lib/vorbisfile.a ../lib/vorbisfile.a(vorbisfile.o): In function `_get_prev_page': vorbisfile.o(.text+0x54): undefined reference to `ogg_sync_reset' vorbisfile.o(.text+0xa9): undefined reference to `ogg_sync_pageseek' vorbisfile.o(.text+0xd2): undefined reference to `ogg_sync_buffer' ... This is obviously because libvorbis comes before vorbisfile on the command...
2014 May 23
2
ov_pcm_seek to sample zero of Theora/Vorbis file hangs
Hi all, I'm having a little trouble with a Vorbis decoder hanging (actually hard looping the CPU) when I call ov_pcm_seek(&vorbis_file, 0) on a multiplexed theora/vorbis file. It appears to be the vorbisfile library that has the problem. The call to ov_pcm_seek never returns. Seeking in non-multiplexed, including chained, files is OK. Seeking to other values, including sample 1, works
2002 Nov 12
2
Vorbisfile: Small Files broken in 1.0?
I am a game developer, and we used RC3 in our last game. Worked great. I'm trying to update to 1.0 now, and running into some problems. Specifically, I think a change to _get_prev_page() in vorbisfile.c broke the decoder for very small files. I have a file called "silence" that's just a silent wav file. It compresses down to barely more than the header, so it's _really_ small. When I try to play it, it goes into an infinite loop in vorbisfile.c, line 159. In...
2002 Mar 27
0
CVS libvorbisfile
Hi, Today I tried to run my player code with the CVS libvorbis (instead of RC3 as usual) and I found the infinite loop here (lines prefixed with >> are in the loop): tatic ogg_int64_t _get_prev_page(OggVorbis_File *vf,ogg_page *og){ ogg_int64_t begin=vf->offset; ogg_int64_t end=begin; ogg_int64_t ret; ogg_int64_t offset=-1; >> while(offset==-1){ >> begin-=CHUNKSIZE; >> if(begin<0) >> begin=0; >> _seek_helper(vf,begin); >> whi...