#include <cstring>
#include <boost/exception/all.hpp>
#include <boost/thread.hpp>
+extern "C" {
+#include <libavutil/pixfmt.h>
+}
#include "compose.hpp"
/** @class StringError
{}
};
+class PixelFormatError : public StringError
+{
+public:
+ PixelFormatError (std::string o, AVPixelFormat f)
+ : StringError (String::compose ("Cannot handle pixel format %1 during %2", f, o))
+ {}
+};
+
class ExceptionStore
{
public:
mutable boost::mutex _mutex;
};
+
+
#endif