X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=45485e1df68e65a67a7d3d622ccb124ea311b706;hp=537aca5723e48a2ea32037fd342dca2f5068859c;hb=3d075bb43197cf3c5dbe23bb78e3b43a5f4bcca1;hpb=c85690666e2ed2327e751b819970658d58479bfb diff --git a/error.h b/error.h index 537aca57..45485e1d 100644 --- a/error.h +++ b/error.h @@ -264,8 +264,6 @@ extern const char **para_errlist[]; #define MP3_AFH_ERRORS \ - PARA_ERROR(FREAD, "fread error"), \ - PARA_ERROR(FSEEK, "fseek error"), \ PARA_ERROR(FRAME, "invalid mp3 frame"), \ PARA_ERROR(FRAME_LENGTH, "invalid frame length"), \ PARA_ERROR(MP3_NO_FILE, "invalid mp3 file pointer"), \ @@ -303,6 +301,7 @@ extern const char **para_errlist[]; #define VSS_ERRORS \ PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \ PARA_ERROR(FSTAT, "failed to fstat() audio file"), \ + PARA_ERROR(EMPTY_CHUNK, "empty chunk"), \ #define AFS_ERRORS \ @@ -401,6 +400,8 @@ extern const char **para_errlist[]; PARA_ERROR(F_GETFL, "failed to get fd flags"), \ PARA_ERROR(F_SETFL, "failed to set fd flags"), \ PARA_ERROR(FGETS, "fgets error"), \ + PARA_ERROR(FSEEK, "fseek error"), \ + PARA_ERROR(FREAD, "fread error"), \ #define WRITE_ERRORS \