| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of FFmpeg. | 2 * This file is part of FFmpeg. |
| 3 * | 3 * |
| 4 * FFmpeg is free software; you can redistribute it and/or | 4 * FFmpeg is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Lesser General Public | 5 * modify it under the terms of the GNU Lesser General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2.1 of the License, or (at your option) any later version. | 7 * version 2.1 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * FFmpeg is distributed in the hope that it will be useful, | 9 * FFmpeg is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Lesser General Public License for more details. | 12 * Lesser General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Lesser General Public | 14 * You should have received a copy of the GNU Lesser General Public |
| 15 * License along with FFmpeg; if not, write to the Free Software | 15 * License along with FFmpeg; if not, write to the Free Software |
| 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 */ | 17 */ |
| 18 | 18 |
| 19 #ifndef AVCORE_AVCORE_H | 19 #ifndef AVCORE_AVCORE_H |
| 20 #define AVCORE_AVCORE_H | 20 #define AVCORE_AVCORE_H |
| 21 | 21 |
| 22 /** | 22 /** |
| 23 * @file | 23 * @file |
| 24 * shared media utilities for the libav* libraries | 24 * shared media utilities for the libav* libraries |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include <libavutil/avutil.h> | 27 #include "libavutil/avutil.h" |
| 28 | 28 |
| 29 #define LIBAVCORE_VERSION_MAJOR 0 | 29 #define LIBAVCORE_VERSION_MAJOR 0 |
| 30 #define LIBAVCORE_VERSION_MINOR 3 | 30 #define LIBAVCORE_VERSION_MINOR 9 |
| 31 #define LIBAVCORE_VERSION_MICRO 0 | 31 #define LIBAVCORE_VERSION_MICRO 0 |
| 32 | 32 |
| 33 #define LIBAVCORE_VERSION_INT AV_VERSION_INT(LIBAVCORE_VERSION_MAJOR, \ | 33 #define LIBAVCORE_VERSION_INT AV_VERSION_INT(LIBAVCORE_VERSION_MAJOR, \ |
| 34 LIBAVCORE_VERSION_MINOR, \ | 34 LIBAVCORE_VERSION_MINOR, \ |
| 35 LIBAVCORE_VERSION_MICRO) | 35 LIBAVCORE_VERSION_MICRO) |
| 36 #define LIBAVCORE_VERSION AV_VERSION(LIBAVCORE_VERSION_MAJOR, \ | 36 #define LIBAVCORE_VERSION AV_VERSION(LIBAVCORE_VERSION_MAJOR, \ |
| 37 LIBAVCORE_VERSION_MINOR, \ | 37 LIBAVCORE_VERSION_MINOR, \ |
| 38 LIBAVCORE_VERSION_MICRO) | 38 LIBAVCORE_VERSION_MICRO) |
| 39 #define LIBAVCORE_BUILD LIBAVCORE_VERSION_INT | 39 #define LIBAVCORE_BUILD LIBAVCORE_VERSION_INT |
| 40 | 40 |
| 41 #define LIBAVCORE_IDENT "Lavcore" AV_STRINGIFY(LIBAVCORE_VERSION) | 41 #define LIBAVCORE_IDENT "Lavcore" AV_STRINGIFY(LIBAVCORE_VERSION) |
| 42 | 42 |
| 43 /** | 43 /** |
| 44 * Return the LIBAVCORE_VERSION_INT constant. | 44 * Return the LIBAVCORE_VERSION_INT constant. |
| 45 */ | 45 */ |
| 46 unsigned avcore_version(void); | 46 unsigned avcore_version(void); |
| 47 | 47 |
| 48 /** | 48 /** |
| 49 * Return the libavcore build-time configuration. | 49 * Return the libavcore build-time configuration. |
| 50 */ | 50 */ |
| 51 const char *avcore_configuration(void); | 51 const char *avcore_configuration(void); |
| 52 | 52 |
| 53 /** | 53 /** |
| 54 * Return the libavcore license. | 54 * Return the libavcore license. |
| 55 */ | 55 */ |
| 56 const char *avcore_license(void); | 56 const char *avcore_license(void); |
| 57 | 57 |
| 58 /** |
| 59 * Those FF_API_* defines are not part of public API. |
| 60 * They may change, break or disappear at any time. |
| 61 */ |
| 62 #ifndef FF_API_OLD_IMAGE_NAMES |
| 63 #define FF_API_OLD_IMAGE_NAMES (LIBAVCORE_VERSION_MAJOR < 1) |
| 64 #endif |
| 65 |
| 58 #endif /* AVCORE_AVCORE_H */ | 66 #endif /* AVCORE_AVCORE_H */ |
| OLD | NEW |