
Author: ods15 Date: Thu Nov 16 08:02:09 2006 New Revision: 215 Modified: trunk/libnut/demuxer.c Log: add the three new errors to nut_error() Modified: trunk/libnut/demuxer.c ============================================================================== --- trunk/libnut/demuxer.c (original) +++ trunk/libnut/demuxer.c Thu Nov 16 08:02:09 2006 @@ -1426,6 +1426,9 @@ const char * nut_error(int error) { switch((enum nut_errors)error) { + case NUT_ERR_NO_ERROR: return "No error."; + case NUT_ERR_EOF: return "Unexpected EOF."; + case NUT_ERR_EAGAIN: return "Not enough data given and no EOF."; case NUT_ERR_GENERAL_ERROR: return "General Error."; case NUT_ERR_BAD_VERSION: return "Bad NUT Version."; case NUT_ERR_NOT_FRAME_NOT_N: return "Invalid Framecode.";
participants (1)
-
ods15