diff options
-rw-r--r-- | docs/CREDITS | 1 | ||||
-rw-r--r-- | lib/rbcodec/codecs/opus.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/CREDITS b/docs/CREDITS index 841f1b76e8..fa0fc5b582 100644 --- a/docs/CREDITS +++ b/docs/CREDITS | |||
@@ -653,6 +653,7 @@ Udo Schläpfer | |||
653 | Åka Sikrom | 653 | Åka Sikrom |
654 | Thomas White | 654 | Thomas White |
655 | Karl Huber | 655 | Karl Huber |
656 | Adam Sampson | ||
656 | 657 | ||
657 | The libmad team | 658 | The libmad team |
658 | The wavpack team | 659 | The wavpack team |
diff --git a/lib/rbcodec/codecs/opus.c b/lib/rbcodec/codecs/opus.c index 842803aa4f..058880c149 100644 --- a/lib/rbcodec/codecs/opus.c +++ b/lib/rbcodec/codecs/opus.c | |||
@@ -449,6 +449,7 @@ enum codec_status codec_run(void) | |||
449 | } | 449 | } |
450 | 450 | ||
451 | /* report progress */ | 451 | /* report progress */ |
452 | ci->set_offset((size_t) ci->curpos); | ||
452 | ci->set_elapsed((granule_pos - header.preskip) / 48); | 453 | ci->set_elapsed((granule_pos - header.preskip) / 48); |
453 | 454 | ||
454 | /* Decode audio packets */ | 455 | /* Decode audio packets */ |