Displaying 20 results from an estimated 2000 matches similar to: "ov_open error !"
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"
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 Jun 17
1
ov_open fails on Version 1.0.1
Eddie,
I have been reviewing vorbis list postings, because I have been spinning my wheels for a week, trying to make a simple insertion of ogg vorbis decoding (vorbisfile) in the audio class of my MFC/C++ program. I just read your thread from April 2004.
Question: Do you have anything you could send me, since I assume you succeeded in getting results? And/or could you take a look at what I
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"
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) {
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 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
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) {
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.
2004 Feb 09
3
Problem with 'ov_open'...
Hey, I've coded an OGG player for Win32 (it uses AL for playback so it's portable to Linux/Mac), but every time the program gets to the 'ov_open()' function, the app completely freezes, and I have to use the task-manager to kill it. I am supplying it with a valid file handle that was just opened (FILE*) and the vorbis file is also a pointer that is not in use (set to null). Any
2005 May 23
1
Why does ov_open fail?
hello everyone.
after reading through the api manual of the ogg vorbis win32 sdk, i
tried to implement a very simple comment reader in visual c++. but for
some reason the very first operation to initialize the OggVorbis_File
struct keeps failing and i can't figure out why. is there anything i
might not have considered? The memory exception seems to happen deep
within the calling tree of
2005 Jun 30
2
Reading from memory and ov_open
Hi,
I've been working with oggvorbis-win32sdk-1.0.1 and have a
semi-hypothetical question.
Let's suppose that, for whatever reason, I've allocated a block of
memory, and I've loaded into this memory a perfectly valid ogg vorbis
file.
Now I'd like to decode this vorbis data, but I'm stuck calling ov_open()
because I don't have a FILE*, I have a block of memory. (This
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
2003 Jun 11
1
Problems with ov_open
Hey, i'm having trouble getting ov_open to work on my slackware 8.1 system.
The c, and makefile are as follows, and the error produced. I've also
included an ldd of the compiled file. If anyone can be of any help, it
would be greatly appreciated!
--------------------------C FILE-------------------------------
#include <stdio.h>
#include <string.h>
#include
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
2004 Jan 06
0
AW: access violation in ov_open
hmmm...when using my self-compiled *_static lib's all works fine.
(the shipped *_static lib's conflict with my libcmt.lib because of
multiple definitions of some functions)
only the dynamic libs cause an access-violation in NTDLL
greetings, Sebastian
----------
<p><p>Hi!
my code causes access-violations in ov_open.
I'm using MS VisualC++ 6 SP5 on WinXPpro with oggvorbis
2003 Jul 23
3
ov_open returning OV_EBADHEADER
Hi there.
I'm having this problem when trying to open the stream to play it. What I'm
doing is the following:
archivo_original = fopen(Archivo.c_str(), "r");
if (archivo_original == NULL) {
if (EventLog)
EventLog->WriteString(Format("No se pudo abrir el archivo %s",
ARRAYOFCONST((Archivo))));
WaveOut->Stop();
return;
}
2002 Apr 07
1
Trying to figure out the library...
I'm new to this list so... Hello everyone :)
Anyway, I want to use Ogg in my Windows-based game but am having trouble
figureing out how to get the library to work. I downloaded the "Windows
SDK" snapshot and included all the relevant files in my MSVC++ 6.0 project
on Windows 2000, but the examples do not run due to memory overruns. Here
is some code I tried to run, which is, as
2002 Feb 12
2
problem with Vorbis DLL's
Hi,
I was wondering if anyone out there had any success dynamically loading the
Vorbis libraries via LoadLibrary on Win32. I'm able to use things properly
by linking in the static libraries, but when I try to load them dynamically
(which I really need to do), I get an access violation when calling ov_open.
The code looks something like this...
typedef int
2006 Jun 14
1
Having problems with ov_read
Ok here is the breakdown. I am trying to impliment streaming into our game
using openAL and ogg-vorbis. In the non-streaming function when I call
ov_read on the file I should be streaming the buffer gets filled with the
correct data. However, when I run ov_read on the same OggVorbis_File when I
read the buffer gets filled with 0's. The buffer has not been zero'd and
starts filled