Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: ov_open_callbacks (Read 5024 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

ov_open_callbacks

I ran into a problem I find hard to understand.

To make my application read files from memory I thought it would be suitable to use ov_open_callbacks instead of ov_open (wich is limited to files stored on the harddis - and not in a packer form example).

But I found that when I used that logic, the ov_open_callback function would give me a
OV_ENOTVORBIS error code, although the very same file worked fine under ov_open.

I checked the buffer length, that was ok.

ov_open_callbacks

Reply #1
I recommend that you look for help in the vorbis-dev mailing list at xiph.org.  Best of luck.
Join //spreadopenmedia.com to promote Opus, Vorbis, FLAC, etc

 

ov_open_callbacks

Reply #2
The source code is open, nothing is stopping you from debugging why you get OV_ENOTVORBIS back yourself. Or don't programmers work like that anymore nowadays?
Full-quoting makes you scroll past the same junk over and over.