List Info

Thread: r215 - trunk/libnut/demuxer.c




r215 - trunk/libnut/demuxer.c
user name
2006-11-16 07:02:10
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.";
_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu

http://lists.mplayerhq.hu/mailman/listinfo/nut-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )