summaryrefslogtreecommitdiff
path: root/libavutil/error.h
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.h
parenteb066a4ce9e82cddb8f5af574804aa9889450b34 (diff)
Add AVERROR_*_NOT_FOUND codes.
Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/error.h')
-rw-r--r--libavutil/error.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/error.h b/libavutil/error.h
index 28fa925793..290487f3d9 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -57,6 +57,15 @@
#define AVERROR_NUMEXPECTED (-MKTAG('N','U','E','X')) ///< Number syntax expected in filename
#endif
+#define AVERROR_DEMUXER_NOT_FOUND (-MKTAG(0xF8,'D','E','M')) ///< Demuxer not found
+#define AVERROR_MUXER_NOT_FOUND (-MKTAG(0xF8,'M','U','X')) ///< Muxer not found
+#define AVERROR_DECODER_NOT_FOUND (-MKTAG(0xF8,'D','E','C')) ///< Decoder not found
+#define AVERROR_ENCODER_NOT_FOUND (-MKTAG(0xF8,'E','N','C')) ///< Encoder not found
+#define AVERROR_PROTOCOL_NOT_FOUND (-MKTAG(0xF8,'P','R','O')) ///< Protocol not found
+#define AVERROR_FILTER_NOT_FOUND (-MKTAG(0xF8,'F','I','L')) ///< Filter not found
+#define AVERROR_BSF_NOT_FOUND (-MKTAG(0xF8,'B','S','F')) ///< Bitstream filter not found
+#define AVERROR_STREAM_NOT_FOUND (-MKTAG(0xF8,'S','T','R')) ///< Stream not found
+
/**
* Put a description of the AVERROR code errnum in errbuf.
* In case of failure the global variable errno is set to indicate the