Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/celtdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/celtdec.c b/tools/celtdec.c
index 6e52752..5edbd48 100644
--- a/tools/celtdec.c
+++ b/tools/celtdec.c
@@ -573,9 +573,9 @@ int main(int argc, char **argv)
/*for (i=0;i<frame_size*channels;i++)
printf ("%d\n", (int)output[i]);*/
- if (ret!=0)
+ if (ret<0)
{
- fprintf (stderr, "Decoding error: corrupted stream?\n");
+ fprintf (stderr, "Decoding error: %s\n", celt_strerror(ret));
break;
}