X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Faudio%2Fovstream.cc;h=cc898cc219f2965e512507bbc12b8da35b6b0fe1;hp=0c347f8d9d3c872e48b320c69333e12ac9733b26;hb=2a5c3d461a983818c82424eef9eeb14761f8b07e;hpb=73b213a3546d98310fb9d70abfb4f38d1bd7c682 diff --git a/src/audio/ovstream.cc b/src/audio/ovstream.cc index 0c347f8..cc898cc 100644 --- a/src/audio/ovstream.cc +++ b/src/audio/ovstream.cc @@ -1,6 +1,6 @@ #include #include -#include "assman.h" +#include "assfile.h" #include "logger.h" #include "ovstream.h" @@ -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;