summaryrefslogtreecommitdiff
path: root/src/encoder
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-02-17 13:37:03 +0100
committerMax Kellermann <max@musicpd.org>2018-02-17 13:37:03 +0100
commit60efdce5fffc2dc5a8f4173f42e9b6cc5e310e87 (patch)
tree9d32eff51180c9f85207d6e67d1098aa5cb96e72 /src/encoder
parenta68f2cb9fa75429ab05314ab79289110af10c4b4 (diff)
parent026aef7465506429ee94e7b5b68e36ab8ed5a849 (diff)
Merge branch 'v0.20.x'
Diffstat (limited to 'src/encoder')
-rw-r--r--src/encoder/plugins/OpusEncoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/plugins/OpusEncoderPlugin.cxx b/src/encoder/plugins/OpusEncoderPlugin.cxx
index 4796c7fe2..b4419882c 100644
--- a/src/encoder/plugins/OpusEncoderPlugin.cxx
+++ b/src/encoder/plugins/OpusEncoderPlugin.cxx
@@ -52,7 +52,7 @@ class OpusEncoder final : public OggEncoder {
ogg_int64_t packetno = 0;
- ogg_int64_t granulepos;
+ ogg_int64_t granulepos = 0;
public:
OpusEncoder(AudioFormat &_audio_format, ::OpusEncoder *_enc);