From 7520305c1ff271845cfbb2d824cf6d4a664442dc Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Sat, 29 Sep 2018 06:21:44 +0300 Subject: [PATCH] ov_open_callbacks doesn't set ass_errno obviously. removed it from the error message. --- src/audio/ovstream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/ovstream.cc b/src/audio/ovstream.cc index 0c347f8..ce9619f 100644 --- 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; -- 1.7.10.4