assman was renamed to assfile
[laserbrain_demo] / src / audio / ovstream.cc
index 0c347f8..cc898cc 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <assert.h>
-#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;