comparison error.c @ 911:71ebc8b18666 libavutil

Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS) instead which is semantically equivalent. See the thread: Subject: [FFmpeg-devel] [RFC] The meaning of AVERROR_NOTSUPP Date: Sat, 27 Mar 2010 00:51:13 +0100
author stefano
date Tue, 27 Apr 2010 22:26:08 +0000
parents 3e77728d53e1
children a1a27468a9c5
comparison
equal deleted inserted replaced
910:6dcab870b03b 911:71ebc8b18666
25 const char *errstr = NULL; 25 const char *errstr = NULL;
26 26
27 switch (errnum) { 27 switch (errnum) {
28 case AVERROR_EOF: errstr = "End of file"; break; 28 case AVERROR_EOF: errstr = "End of file"; break;
29 case AVERROR_INVALIDDATA: errstr = "Invalid data found when processing input"; break; 29 case AVERROR_INVALIDDATA: errstr = "Invalid data found when processing input"; break;
30 case AVERROR_NOTSUPP: errstr = "Operation not supported"; break;
31 case AVERROR_NUMEXPECTED: errstr = "Number syntax expected in filename"; break; 30 case AVERROR_NUMEXPECTED: errstr = "Number syntax expected in filename"; break;
32 case AVERROR_PATCHWELCOME: errstr = "Not yet implemented in FFmpeg, patches welcome"; break; 31 case AVERROR_PATCHWELCOME: errstr = "Not yet implemented in FFmpeg, patches welcome"; break;
33 } 32 }
34 33
35 if (errstr) { 34 if (errstr) {