comparison h263.h @ 5277:7b3fcb7c61ce libavcodec

Avoid linking with h263.c functions when the relevant codecs are not compiled in.
author aurel
date Tue, 10 Jul 2007 20:23:08 +0000
parents
children 1d83e9c34641
comparison
equal deleted inserted replaced
5276:0d71d658b19f 5277:7b3fcb7c61ce
1 /*
2 * H263/MPEG4 backend for ffmpeg encoder and decoder
3 * copyright (c) 2007 Aurelien Jacobs <aurel@gnuage.org>
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #ifndef AVCODEC_H263_H
23 #define AVCODEC_H263_H
24
25 #include "config.h"
26 #include "msmpeg4.h"
27
28 #define ENABLE_ANY_H263_DECODER (ENABLE_H263_DECODER || \
29 ENABLE_H263I_DECODER || \
30 ENABLE_FLV_DECODER || \
31 ENABLE_RV10_DECODER || \
32 ENABLE_RV20_DECODER || \
33 ENABLE_MPEG4_DECODER || \
34 ENABLE_MSMPEG4_DECODER || \
35 ENABLE_WMV_DECODER)
36 #define ENABLE_ANY_H263_ENCODER (ENABLE_H263_ENCODER || \
37 ENABLE_H263P_ENCODER || \
38 ENABLE_FLV_ENCODER || \
39 ENABLE_RV10_ENCODER || \
40 ENABLE_RV20_ENCODER || \
41 ENABLE_MPEG4_ENCODER || \
42 ENABLE_MSMPEG4_ENCODER || \
43 ENABLE_WMV_ENCODER)
44 #define ENABLE_ANY_H263 (ENABLE_ANY_H263_DECODER || ENABLE_ANY_H263_ENCODER)
45
46 #endif /* AVCODEC_H263_H */