Mercurial > libavcodec.hg
comparison libdirac.h @ 10041:acbb86a779b8 libavcodec
Remove pointless #ifdefs from conditionally used files.
author | diego |
---|---|
date | Mon, 10 Aug 2009 12:34:36 +0000 |
parents | e9d9d946f213 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
10040:8f08abb1dffa | 10041:acbb86a779b8 |
---|---|
24 */ | 24 */ |
25 | 25 |
26 #ifndef AVCODEC_LIBDIRAC_H | 26 #ifndef AVCODEC_LIBDIRAC_H |
27 #define AVCODEC_LIBDIRAC_H | 27 #define AVCODEC_LIBDIRAC_H |
28 | 28 |
29 #include "config.h" | |
30 | |
31 #if CONFIG_LIBDIRAC | |
32 | |
33 #include "avcodec.h" | 29 #include "avcodec.h" |
34 #include <libdirac_common/dirac_types.h> | 30 #include <libdirac_common/dirac_types.h> |
35 | 31 |
36 /** | 32 /** |
37 * Table providing a Dirac chroma format to FFmpeg pixel format mapping. | 33 * Table providing a Dirac chroma format to FFmpeg pixel format mapping. |
43 { PIX_FMT_YUV420P, format420 }, | 39 { PIX_FMT_YUV420P, format420 }, |
44 { PIX_FMT_YUV422P, format422 }, | 40 { PIX_FMT_YUV422P, format422 }, |
45 { PIX_FMT_YUV444P, format444 }, | 41 { PIX_FMT_YUV444P, format444 }, |
46 }; | 42 }; |
47 | 43 |
48 #endif /* CONFIG_LIBDIRAC */ | |
49 #endif /* AVCODEC_LIBDIRAC_H */ | 44 #endif /* AVCODEC_LIBDIRAC_H */ |