shithub: libopusenc

Download patch

ref: e8d8c7446a4adcaee963ce6618f43b9628c1684e
parent: d8275bd4dd0bcc2adc4e352ae43e0b6201c0b115
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Wed May 3 18:08:15 EDT 2017

oops

--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -591,8 +591,7 @@
   if (enc->last_stream->header_is_frozen) return OPE_TOO_LATE;
   if (enc->last_stream->stream_is_init) return OPE_TOO_LATE;
   if (comment_replace_vendor_string(&enc->last_stream->comment, &enc->last_stream->comment_length, vendor)) return OPE_INTERNAL_ERROR;
-  (void)vendor;
-  return OPE_UNIMPLEMENTED;
+  return OPE_OK;
 }
 
 int ope_flush_header(OggOpusEnc *enc) {