summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-11-06 19:23:00 -0800
committerKevin Mitchell <kevmitch@gmail.com>2015-11-09 22:41:19 -0800
commitcf5b117553307fadad380d6b44dab0599683a077 (patch)
treef98c7af538f5cb5c514805f2327db851b9d9ed67 /stream
parent434512827f27b3b4f6cf274ded0c2d0409cf3fce (diff)
downloadmpv-cf5b117553307fadad380d6b44dab0599683a077.tar.bz2
mpv-cf5b117553307fadad380d6b44dab0599683a077.tar.xz
libarchive: remove redundant log prefix
"libarchive:" is already added by the logging system
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_libarchive.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_libarchive.c b/stream/stream_libarchive.c
index 116488d551..21e1111671 100644
--- a/stream/stream_libarchive.c
+++ b/stream/stream_libarchive.c
@@ -132,7 +132,7 @@ static int reopen_archive(stream_t *s)
goto error;
}
if (r < ARCHIVE_OK)
- MP_ERR(s, "libarchive: %s\n", archive_error_string(mpa->arch));
+ MP_ERR(s, "%s\n", archive_error_string(mpa->arch));
if (r < ARCHIVE_WARN)
goto error;
if (archive_entry_filetype(entry) != AE_IFREG)
@@ -166,7 +166,7 @@ static int archive_entry_fill_buffer(stream_t *s, char *buffer, int max_len)
return 0;
int r = archive_read_data(p->mpa->arch, buffer, max_len);
if (r < 0)
- MP_ERR(s, "libarchive: %s\n", archive_error_string(p->mpa->arch));
+ MP_ERR(s, "%s\n", archive_error_string(p->mpa->arch));
return r;
}
@@ -194,7 +194,7 @@ static int archive_entry_seek(stream_t *s, int64_t newpos)
int size = MPMIN(newpos - s->pos, sizeof(buffer));
int r = archive_read_data(p->mpa->arch, buffer, size);
if (r < 0) {
- MP_ERR(s, "libarchive: %s\n", archive_error_string(p->mpa->arch));
+ MP_ERR(s, "%s\n", archive_error_string(p->mpa->arch));
return -1;
}
s->pos += r;