shithub: opus-tools

Download patch

ref: 1165ebbe1bc2b420ae8486506e043982b8d9a6b1
parent: a2a376b6a83c7ff2c8e15b1d7c9078aee4f01257
author: Ron <[email protected]>
date: Sun Jun 8 20:37:31 EDT 2014

Typo fix encoder->decoder

Thanks to maikmerten for spotting it.

--- a/src/opusdec.c
+++ b/src/opusdec.c
@@ -513,7 +513,7 @@
    *preskip = header.preskip;
    st = opus_multistream_decoder_create(48000, header.channels, header.nb_streams, header.nb_coupled, header.stream_map, &err);
    if(err != OPUS_OK){
-     fprintf(stderr, "Cannot create encoder: %s\n", opus_strerror(err));
+     fprintf(stderr, "Cannot create decoder: %s\n", opus_strerror(err));
      return NULL;
    }
    if (!st)