similar to: ov_open fails on Version 1.0.1

Displaying 20 results from an estimated 2000 matches similar to: "ov_open fails on Version 1.0.1"

2005 Jun 14
3
lack of detail for exception in ov_open
I am having one frustrating time trying to decipher why ov_read is failing in my MFC/C++ application, and I see in Google results that others have had difficulty as well. These google discussions generally involve libraries, dll's and linking options, as though there are perhaps some basic incompatibilities between ogg vorbis and win32 and/or MFC/C++. Very confusing. If I pass fopen a
2005 Apr 03
3
Direct crash on ov_open
Greetings, I've just downloaded the Ogg/Vorbis Win32 SDK 'OggVorbis-win32sdk-1.0.1.zip' and made a test app to open an ogg file. But as soon as I call ov_open() the program crashes because of an access violation to address 0x00000010... This happens on both Release and Debug builds. The test app is simple: #include "vorbis/codec.h" #include "vorbis/vorbisfile.h"
2004 Feb 11
1
Problem using 'ov_open()'...
OK, I've been developing a small class that I can use in virtually any application to load and decode OGG files. Everything works fine until it reaches the line with the call to ov_open, then the application freezes and has to be killed. This is a single-threaded Win32 app. Below is both the structure that gets passed around, and my entire OGG class. Maybe one of you can figure this out.
2005 Jun 17
0
ogg vorbis decoding in MFC/C++ app
I am trying to insert a bit of ogg vorbis decoding into my MFC/C++ program and send it to my waveOut functions. // AudioFile.cpp #include "vorbis/codec.h" #include "vorbis/vorbisfile.h" . . . OggVorbis_File vf; FILE* pFile; pFile = fopen("verdes_2.ogg", "rb"); int err = err = ov_open(pFile, &vf, NULL, 0); . . . ov_clear(&vf); In my
2005 Apr 03
0
Direct crash on ov_open
Greetings, I've just downloaded the Ogg/Vorbis Win32 SDK 'OggVorbis-win32sdk-1.0.1.zip' and made a test app to open an ogg file. But as soon as I call ov_open() the program crashes because of an access violation to address 0x00000010... This happens on both Release and Debug builds. The test app is simple: #include "vorbis/codec.h" #include "vorbis/vorbisfile.h"
2003 Jan 05
2
VorbisFile library crashs.
Hello! There is a problem with the VorbisFile library. It only works when I open an OGG file for the 1st time. After I closed the file and try to open another one or the same it crashs. It seems it applies to the use of either ov_open or ov_test functions or their combination. I wrote a test app that illustrates the bug. It crashs with a message "Unmapped memory exception". It's
2002 Dec 09
2
ov_open/ov_test weirdness
Hi, I've been playing with a little player, and it seems I can't ov_open a file twice? heres a snipit... <p>#include <stdio.h> #include <stdlib.h> #include <errno.h> #include <vorbis/vorbisfile.h> OggVorbis_File vf; FILE *f = NULL; int main(int argc, char **argv) { char *file = NULL; int err = 0; if(argc < 2) {
2004 Feb 19
3
Ov_open crash in windows
I am getting the following error from MSVC when calling ov_open() from my app: Unhandled exception in Progname.exe (KERNEL32.DLL): 0xC0000005: Access Violation The call stack shows: KERNEL32! bff7b9a6() VORBISFILE! 00471d1d() I am running Win98 and v1.0 off the vorbis libs. The app is single- threaded. The following code works just fine in a test app I built, but when I add it to another
2004 Mar 06
3
access violation in ov_open using VC6
I passed a valid FILE* (from fopen() with "rb") and the address of an OggVorbis_File struct, but an access violation occured when ov_open is called. I have enabled the Multithreaded, but it still doesn't fix the problem. I look at the vorbis_comment.exe source and I see vcedit_open() function and other vcedit_*() functions everywhere. I am assuming that there is known issue with VC
2002 Dec 27
1
ov_open throws exception (Compiler VC7)
Hi I try to load an ogg file with the vorbisfile library like this: FILE *f = fopen("test.ogg", "rb"); if(!f) ...; ov_open(f, &vf, 0, 0); But ov_open always throws an exception. Im pretty sure its a compiler problem because the same code worked on VC6. Im compiling my programm with the multithreaded dll option as mentioned on the mailing list bevor. Does anybody know if
2003 Dec 15
1
Yet another vf question...
Should I ov_clear a failed ov_open/test/test_open call? The xmms plugin does an fclose on failure, and that seems to work, but I thought I ought to know for certain. (An observation: I think the quantity of questions and bugs raised along the lines of "I did open file, ov_open, ov_read, close file, open another file, ov_read, and it exploded", or "I tried to make vorbisfile go
2002 Apr 24
2
ov_open error
Hi, I put together a small a Visual C++ 6.0 project that uses the code from vorbisfile_example.c. I open an ogg file in binary mode and when ov_open gets called, it always fails. I then put together another project and compiled vorbisfile so I could see where the error was occuring. It is happening in _fetch_headers when it calls ogg_stream_packetout. The return values is -1, which means there
2001 Feb 18
2
Access Violation in ov_open
If I do something similar to the below ov_open always causes an access violation. The call to fopen is successful. Can anybody tell me why? (and how to fix it?) OggVorbis_File vf; int eof=0; int current_section; FILE *fd = fopen("c:\\test.ogg","rb"); if (!fd){ AfxTrace("fopen failed\n"); exit(0); } if(ov_open(fd, &vf, NULL, 0) < 0) {
2001 Feb 02
1
ov_open on non oggvorbis files
there can be a minor bug in vorbisfile: when opening an invalid file with ov_file the errorcode is returned as it should, but the OggVorbis_File struct can't load another file: using ov_open on the same struct with another file segfaults. also using ov_clear on the struct before reopening does'nt helps. workaround: delete and recreate new the OggVorbis_File for each opened file. --
2004 Apr 06
1
ov_open fails on Version 1.0.1
Hi, I've just got around to moving from version 1.0 to 1.0.1. Now when I run my program, at least on Windoze, (haven't tried Linux yet), I get an Access Exception on the ov_open. Nothing else has changed. All I did was replace the lib and dll files that are in the win32sdk zip and re-build all, so it's the same the project files for for both builds. Here the snippet of code that
2009 May 04
2
using "ov_open" in XCode
Hello, I'm trying to implement ogg file playback in Xcode for the iPhone. I built the frameworks and added them to the project along with all the headers. Now I'm just getting some linker errors saying: _ov_open", referenced from: ...myclass.o symbol(s) not found This is declared in vorbisfile.h. Does this mean my vorbis.framework isn't found? Any help will be greatly
2000 Apr 20
3
Thoughts on vorbisfile
Hi all, While reading through various bits of libvorbis and vorbisfile, and then thinking about how to implement other features in the xmms and winamp plugins, I had some thoughts... Vorbisfile is very useful, and very easy to use. It is, however, tied to stdio - which means you can't use it for lots of other stuff where it'd be useful - like streaming, or (under win32) avoiding stdio
2009 May 04
2
using "ov_open" in XCode
Thanks Conrad, but no matter what I try I'm dead in the water. I guess I'm looking for somebody who can help me through the ogg/vorbis installation process for Mac OSX. Maybe I did something wrong. - Downloaded libogg-1.1.3 and libvorbis-1.2.0. - ran the "sh ./configure" and "sudo make install" - opened each xCode project and built the frameworks. - copied the
2003 Dec 14
1
Bride of vorbisfile questions
I've been playing around with using ov_test and ov_test_open as an alternative to ov_open in the xmms plugin's vorbis_check_file function. xmms never bothers to cache the result of a file check, so it tends to happen rather a lot. Unfortunately ov_test_open returns OV_EINVAL because ov_test seems to have left vf->ready_state to OPEN rather than PARTOPEN. I'm presuming this is
2004 Dec 05
1
ov_open error !
#include <stdio.h> #include "vorbis/codec.h" #include "vorbis/vorbisfile.h" #include <io.h> #include <fcntl.h> #pragma comment(lib, "vorbisfile_d") int main(int argc, char **argv) { FILE *fp; OggVorbis_File obf; if(argc < 1) return -1; if((fp = fopen("f:\\testogg.ogg", "rb")) == NULL) { printf("Open Files