projects
/
laserbrain_demo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ef619c
)
ov_open_callbacks doesn't set ass_errno obviously. removed it from the
author
John Tsiombikas
<nuclear@member.fsf.org>
Sat, 29 Sep 2018 03:21:44 +0000
(06:21 +0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sat, 29 Sep 2018 03:21:44 +0000
(06:21 +0300)
error message.
src/audio/ovstream.cc
patch
|
blob
|
history
diff --git
a/src/audio/ovstream.cc
b/src/audio/ovstream.cc
index
0c347f8
..
ce9619f
100644
(file)
--- a/
src/audio/ovstream.cc
+++ b/
src/audio/ovstream.cc
@@
-46,7
+46,7
@@
bool OggVorbisStream::open(const char *fname)
ov_callbacks iofuncs = { ass_fread, io_fseek, io_close, ass_ftell };
if(ov_open_callbacks(fp, &vf, 0, 0, iofuncs) != 0) {
- error_log("failed to open ogg/vorbis stream: %s: %s\n", fname, strerror(ass_errno));
+ error_log("failed to open ogg/vorbis stream: %s\n", fname);
ass_fclose(fp);
pthread_mutex_unlock(&vflock);
return false;