Revision 3dd851c4

View differences:

libavcodec/Makefile
3 3
NAME = avcodec
4 4
FFLIBS = avutil
5 5

  
6
HEADERS = avcodec.h avfft.h dxva2.h opt.h vaapi.h vdpau.h xvmc.h
6
HEADERS = avcodec.h avfft.h dxva2.h opt.h vaapi.h vdpau.h version.h xvmc.h
7 7

  
8 8
OBJS = allcodecs.o                                                      \
9 9
       audioconvert.o                                                   \
libavcodec/avcodec.h
31 31
#include "libavutil/avutil.h"
32 32
#include "libavutil/cpu.h"
33 33

  
34
#define LIBAVCODEC_VERSION_MAJOR 52
35
#define LIBAVCODEC_VERSION_MINOR 114
36
#define LIBAVCODEC_VERSION_MICRO  0
37

  
38
#define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
39
                                               LIBAVCODEC_VERSION_MINOR, \
40
                                               LIBAVCODEC_VERSION_MICRO)
41
#define LIBAVCODEC_VERSION      AV_VERSION(LIBAVCODEC_VERSION_MAJOR,    \
42
                                           LIBAVCODEC_VERSION_MINOR,    \
43
                                           LIBAVCODEC_VERSION_MICRO)
44
#define LIBAVCODEC_BUILD        LIBAVCODEC_VERSION_INT
45

  
46
#define LIBAVCODEC_IDENT        "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
47

  
48
/**
49
 * Those FF_API_* defines are not part of public API.
50
 * They may change, break or disappear at any time.
51
 */
52
#ifndef FF_API_PALETTE_CONTROL
53
#define FF_API_PALETTE_CONTROL  (LIBAVCODEC_VERSION_MAJOR < 54)
54
#endif
55
#ifndef FF_API_MM_FLAGS
56
#define FF_API_MM_FLAGS         (LIBAVCODEC_VERSION_MAJOR < 53)
57
#endif
58
#ifndef FF_API_OPT_SHOW
59
#define FF_API_OPT_SHOW         (LIBAVCODEC_VERSION_MAJOR < 53)
60
#endif
61
#ifndef FF_API_AUDIO_OLD
62
#define FF_API_AUDIO_OLD        (LIBAVCODEC_VERSION_MAJOR < 53)
63
#endif
64
#ifndef FF_API_VIDEO_OLD
65
#define FF_API_VIDEO_OLD        (LIBAVCODEC_VERSION_MAJOR < 53)
66
#endif
67
#ifndef FF_API_SUBTITLE_OLD
68
#define FF_API_SUBTITLE_OLD     (LIBAVCODEC_VERSION_MAJOR < 53)
69
#endif
70
#ifndef FF_API_USE_LPC
71
#define FF_API_USE_LPC          (LIBAVCODEC_VERSION_MAJOR < 53)
72
#endif
73
#ifndef FF_API_SET_STRING_OLD
74
#define FF_API_SET_STRING_OLD   (LIBAVCODEC_VERSION_MAJOR < 53)
75
#endif
76
#ifndef FF_API_INOFFICIAL
77
#define FF_API_INOFFICIAL       (LIBAVCODEC_VERSION_MAJOR < 53)
78
#endif
79
#ifndef FF_API_OLD_SAMPLE_FMT
80
#define FF_API_OLD_SAMPLE_FMT   (LIBAVCODEC_VERSION_MAJOR < 53)
81
#endif
82
#ifndef FF_API_OLD_AUDIOCONVERT
83
#define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 53)
84
#endif
34
#include "libavcodec/version.h"
85 35

  
86 36
#if LIBAVCODEC_VERSION_MAJOR < 53
87 37
#   define FF_INTERNALC_MEM_TYPE unsigned int
libavcodec/version.h
1
/*
2
 *
3
 * This file is part of FFmpeg.
4
 *
5
 * FFmpeg is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU Lesser General Public
7
 * License as published by the Free Software Foundation; either
8
 * version 2.1 of the License, or (at your option) any later version.
9
 *
10
 * FFmpeg is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 * Lesser General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU Lesser General Public
16
 * License along with FFmpeg; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
 */
19

  
20
#ifndef AVCODEC_VERSION_H
21
#define AVCODEC_VERSION_H
22

  
23
#define LIBAVCODEC_VERSION_MAJOR 52
24
#define LIBAVCODEC_VERSION_MINOR 114
25
#define LIBAVCODEC_VERSION_MICRO  0
26

  
27
#define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
28
                                               LIBAVCODEC_VERSION_MINOR, \
29
                                               LIBAVCODEC_VERSION_MICRO)
30
#define LIBAVCODEC_VERSION      AV_VERSION(LIBAVCODEC_VERSION_MAJOR,    \
31
                                           LIBAVCODEC_VERSION_MINOR,    \
32
                                           LIBAVCODEC_VERSION_MICRO)
33
#define LIBAVCODEC_BUILD        LIBAVCODEC_VERSION_INT
34

  
35
#define LIBAVCODEC_IDENT        "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
36

  
37
/**
38
 * Those FF_API_* defines are not part of public API.
39
 * They may change, break or disappear at any time.
40
 */
41
#ifndef FF_API_PALETTE_CONTROL
42
#define FF_API_PALETTE_CONTROL  (LIBAVCODEC_VERSION_MAJOR < 54)
43
#endif
44
#ifndef FF_API_MM_FLAGS
45
#define FF_API_MM_FLAGS         (LIBAVCODEC_VERSION_MAJOR < 53)
46
#endif
47
#ifndef FF_API_OPT_SHOW
48
#define FF_API_OPT_SHOW         (LIBAVCODEC_VERSION_MAJOR < 53)
49
#endif
50
#ifndef FF_API_AUDIO_OLD
51
#define FF_API_AUDIO_OLD        (LIBAVCODEC_VERSION_MAJOR < 53)
52
#endif
53
#ifndef FF_API_VIDEO_OLD
54
#define FF_API_VIDEO_OLD        (LIBAVCODEC_VERSION_MAJOR < 53)
55
#endif
56
#ifndef FF_API_SUBTITLE_OLD
57
#define FF_API_SUBTITLE_OLD     (LIBAVCODEC_VERSION_MAJOR < 53)
58
#endif
59
#ifndef FF_API_USE_LPC
60
#define FF_API_USE_LPC          (LIBAVCODEC_VERSION_MAJOR < 53)
61
#endif
62
#ifndef FF_API_SET_STRING_OLD
63
#define FF_API_SET_STRING_OLD   (LIBAVCODEC_VERSION_MAJOR < 53)
64
#endif
65
#ifndef FF_API_INOFFICIAL
66
#define FF_API_INOFFICIAL       (LIBAVCODEC_VERSION_MAJOR < 53)
67
#endif
68
#ifndef FF_API_OLD_SAMPLE_FMT
69
#define FF_API_OLD_SAMPLE_FMT   (LIBAVCODEC_VERSION_MAJOR < 53)
70
#endif
71
#ifndef FF_API_OLD_AUDIOCONVERT
72
#define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 53)
73
#endif
74

  
75
#endif /* AVCODEC_VERSION_H */

Also available in: Unified diff