summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/CREDITS1
-rw-r--r--lib/rbcodec/codecs/opus.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/CREDITS b/docs/CREDITS
index 841f1b7..fa0fc5b 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -653,6 +653,7 @@ Udo Schläpfer
Åka Sikrom
Thomas White
Karl Huber
+Adam Sampson
The libmad team
The wavpack team
diff --git a/lib/rbcodec/codecs/opus.c b/lib/rbcodec/codecs/opus.c
index 842803a..058880c 100644
--- a/lib/rbcodec/codecs/opus.c
+++ b/lib/rbcodec/codecs/opus.c
@@ -449,6 +449,7 @@ enum codec_status codec_run(void)
}
/* report progress */
+ ci->set_offset((size_t) ci->curpos);
ci->set_elapsed((granule_pos - header.preskip) / 48);
/* Decode audio packets */