~ubuntu-branches/ubuntu/vivid/libav/vivid

« back to all changes in this revision

Viewing changes to libavutil/version.h

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2013-10-22 23:24:08 UTC
  • mfrom: (1.3.36 sid)
  • Revision ID: package-import@ubuntu.com-20131022232408-b8tvvn4pyzri9mi3
Tags: 6:9.10-1ubuntu1
* Build all -extra flavors from this source package, as libav got demoted
  from main to universe, cf LP: #1243235
* Simplify debian/rules to follow exactly the code that debian executes
* New upstream (LP: #1180288) fixes lots of security issues (LP: #1242802)
* Merge from unstable, remaining changes:
  - build-depend on libtiff5-dev rather than libtiff4-dev,
    avoids FTBFS caused by imlib
  - follow the regular debian codepaths

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of Libav.
 
3
 *
 
4
 * Libav is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Lesser General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2.1 of the License, or (at your option) any later version.
 
8
 *
 
9
 * Libav is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Lesser General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with Libav; if not, write to the Free Software
 
16
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
17
 */
 
18
 
 
19
#ifndef AVUTIL_VERSION_H
 
20
#define AVUTIL_VERSION_H
 
21
 
 
22
#include "avutil.h"
 
23
 
 
24
/**
 
25
 * @file
 
26
 * @ingroup lavu
 
27
 * Libavutil version macros
 
28
 */
 
29
 
 
30
/**
 
31
 * @defgroup lavu_ver Version and Build diagnostics
 
32
 *
 
33
 * Macros and function useful to check at compiletime and at runtime
 
34
 * which version of libavutil is in use.
 
35
 *
 
36
 * @{
 
37
 */
 
38
 
 
39
#define LIBAVUTIL_VERSION_MAJOR 52
 
40
#define LIBAVUTIL_VERSION_MINOR  3
 
41
#define LIBAVUTIL_VERSION_MICRO  0
 
42
 
 
43
#define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
 
44
                                               LIBAVUTIL_VERSION_MINOR, \
 
45
                                               LIBAVUTIL_VERSION_MICRO)
 
46
#define LIBAVUTIL_VERSION       AV_VERSION(LIBAVUTIL_VERSION_MAJOR,     \
 
47
                                           LIBAVUTIL_VERSION_MINOR,     \
 
48
                                           LIBAVUTIL_VERSION_MICRO)
 
49
#define LIBAVUTIL_BUILD         LIBAVUTIL_VERSION_INT
 
50
 
 
51
#define LIBAVUTIL_IDENT         "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
 
52
 
 
53
/**
 
54
 * @}
 
55
 *
 
56
 * @defgroup depr_guards Deprecation guards
 
57
 * FF_API_* defines may be placed below to indicate public API that will be
 
58
 * dropped at a future version bump. The defines themselves are not part of
 
59
 * the public API and may change, break or disappear at any time.
 
60
 *
 
61
 * @{
 
62
 */
 
63
 
 
64
#ifndef FF_API_PIX_FMT
 
65
#define FF_API_PIX_FMT                  (LIBAVUTIL_VERSION_MAJOR < 53)
 
66
#endif
 
67
#ifndef FF_API_CONTEXT_SIZE
 
68
#define FF_API_CONTEXT_SIZE             (LIBAVUTIL_VERSION_MAJOR < 53)
 
69
#endif
 
70
#ifndef FF_API_PIX_FMT_DESC
 
71
#define FF_API_PIX_FMT_DESC             (LIBAVUTIL_VERSION_MAJOR < 53)
 
72
#endif
 
73
#ifndef FF_API_AV_REVERSE
 
74
#define FF_API_AV_REVERSE               (LIBAVUTIL_VERSION_MAJOR < 53)
 
75
#endif
 
76
#ifndef FF_API_AUDIOCONVERT
 
77
#define FF_API_AUDIOCONVERT             (LIBAVUTIL_VERSION_MAJOR < 53)
 
78
#endif
 
79
#ifndef FF_API_CPU_FLAG_MMX2
 
80
#define FF_API_CPU_FLAG_MMX2            (LIBAVUTIL_VERSION_MAJOR < 53)
 
81
#endif
 
82
 
 
83
/**
 
84
 * @}
 
85
 */
 
86
 
 
87
#endif /* AVUTIL_VERSION_H */