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:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-03-13 04:36:26 +0300
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-03-13 04:36:26 +0300
commit7c328c2d7a9bb28b837d935658ec05bfd7746aa6 (patch)
tree32df343aea31ac98e4e16b9dc7a1b4d609a0e0c5
parentdd2973dd6c440c3e48d18e9b010bbb2e916f5286 (diff)
celtdec update for change in celt_decode() return value
-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;
}