Mercurial > libavutil.hg
comparison avutil.h @ 877:51fd7ea406a1 libavutil
Move error code definitions from libavcodec/avcodec.h to
libavutil/error.h.
Error code definitions and handling code belong to libavutil, where
they can be shared by all the libav* libraries.
See the thread:
Subject: [FFmpeg-devel] [PATCH] Move error codes definitions from lavc to lavu
Date: Sun, 19 Jul 2009 12:09:16 +0200
author | stefano |
---|---|
date | Sat, 13 Mar 2010 09:43:24 +0000 |
parents | a8444182f978 |
children | 3e77728d53e1 |
comparison
equal
deleted
inserted
replaced
876:0cf8e33624d0 | 877:51fd7ea406a1 |
---|---|
38 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) | 38 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) |
39 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c | 39 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c |
40 #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) | 40 #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) |
41 | 41 |
42 #define LIBAVUTIL_VERSION_MAJOR 50 | 42 #define LIBAVUTIL_VERSION_MAJOR 50 |
43 #define LIBAVUTIL_VERSION_MINOR 11 | 43 #define LIBAVUTIL_VERSION_MINOR 12 |
44 #define LIBAVUTIL_VERSION_MICRO 0 | 44 #define LIBAVUTIL_VERSION_MICRO 0 |
45 | 45 |
46 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ | 46 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |
47 LIBAVUTIL_VERSION_MINOR, \ | 47 LIBAVUTIL_VERSION_MINOR, \ |
48 LIBAVUTIL_VERSION_MICRO) | 48 LIBAVUTIL_VERSION_MICRO) |
67 * Returns the libavutil license. | 67 * Returns the libavutil license. |
68 */ | 68 */ |
69 const char *avutil_license(void); | 69 const char *avutil_license(void); |
70 | 70 |
71 #include "common.h" | 71 #include "common.h" |
72 #include "error.h" | |
72 #include "mathematics.h" | 73 #include "mathematics.h" |
73 #include "rational.h" | 74 #include "rational.h" |
74 #include "intfloat_readwrite.h" | 75 #include "intfloat_readwrite.h" |
75 #include "log.h" | 76 #include "log.h" |
76 #include "pixfmt.h" | 77 #include "pixfmt.h" |