summaryrefslogtreecommitdiff
path: root/libavutil/error.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2010-12-19 09:01:02 +0000
committerNicolas George <nicolas.george@normalesup.org>2010-12-19 09:01:02 +0000
commit0bc55f5d32bb348369bfa48041a19b2ff080b8c7 (patch)
tree11493c81545741488138bfc926ee37dba500a916 /libavutil/error.c
parenteb066a4ce9e82cddb8f5af574804aa9889450b34 (diff)
Add AVERROR_*_NOT_FOUND codes.
Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/error.c')
-rw-r--r--libavutil/error.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/error.c b/libavutil/error.c
index b6d6019061..5cf54aadea 100644
--- a/libavutil/error.c
+++ b/libavutil/error.c
@@ -29,6 +29,14 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
case AVERROR_INVALIDDATA: errstr = "Invalid data found when processing input"; break;
case AVERROR_NUMEXPECTED: errstr = "Number syntax expected in filename"; break;
case AVERROR_PATCHWELCOME: errstr = "Not yet implemented in FFmpeg, patches welcome"; break;
+ case AVERROR_DEMUXER_NOT_FOUND: errstr = "Demuxer not found"; break;
+ case AVERROR_MUXER_NOT_FOUND: errstr = "Muxer not found"; break;
+ case AVERROR_DECODER_NOT_FOUND: errstr = "Decoder not found"; break;
+ case AVERROR_ENCODER_NOT_FOUND: errstr = "Encoder not found"; break;
+ case AVERROR_PROTOCOL_NOT_FOUND:errstr = "Protocol not found"; break;
+ case AVERROR_FILTER_NOT_FOUND: errstr = "Filter not found"; break;
+ case AVERROR_BSF_NOT_FOUND: errstr = "Bitstream filter not found"; break;
+ case AVERROR_STREAM_NOT_FOUND: errstr = "Stream not found"; break;
}
if (errstr) {