oops
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 4 May 2017 02:08:15 +0000 (22:08 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 4 May 2017 02:08:15 +0000 (22:08 -0400)
src/opusenc.c

index a4b2b54..2471293 100644 (file)
@@ -591,8 +591,7 @@ int ope_set_vendor_string(OggOpusEnc *enc, const char *vendor) {
   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) {