Commit 7c328c2d authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

celtdec update for change in celt_decode() return value

parent dd2973dd
...@@ -573,9 +573,9 @@ int main(int argc, char **argv) ...@@ -573,9 +573,9 @@ int main(int argc, char **argv)
/*for (i=0;i<frame_size*channels;i++) /*for (i=0;i<frame_size*channels;i++)
printf ("%d\n", (int)output[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; break;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment