diff --git a/NEWS b/NEWS index 713550034..73f1b403a 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.19.10 (not yet released) +* encoder + - opus: fix bogus granulepos ver 0.19.9 (2015/02/06) * decoder diff --git a/src/encoder/plugins/OpusEncoderPlugin.cxx b/src/encoder/plugins/OpusEncoderPlugin.cxx index 27b614b86..2b52228cb 100644 --- a/src/encoder/plugins/OpusEncoderPlugin.cxx +++ b/src/encoder/plugins/OpusEncoderPlugin.cxx @@ -66,7 +66,7 @@ struct opus_encoder { ogg_int64_t granulepos; - opus_encoder():encoder(opus_encoder_plugin) {} + opus_encoder():encoder(opus_encoder_plugin), granulepos(0) {} }; static constexpr Domain opus_encoder_domain("opus_encoder");