Implement error message support for the encoder side.

Update issue 7
Status: FixedInGit
This commit is contained in:
Petteri Aimonen
2013-03-09 14:49:15 +02:00
parent 9b6641ac64
commit 0352647118
5 changed files with 41 additions and 15 deletions

View File

@@ -27,6 +27,7 @@ int main()
}
else
{
fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
return 1; /* Failure */
}
}