Mercurial > libavcodec.hg
comparison avcodec.h @ 8281:f93efc084e41 libavcodec
Make av_log_missing_feature an internal function, and change its name
to ff_log_missing_feature.
author | stefano |
---|---|
date | Mon, 08 Dec 2008 21:21:38 +0000 |
parents | cf4d575b1982 |
children | 343f0476fd1d |
comparison
equal
deleted
inserted
replaced
8280:63aba08af550 | 8281:f93efc084e41 |
---|---|
29 | 29 |
30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
31 | 31 |
32 #define LIBAVCODEC_VERSION_MAJOR 52 | 32 #define LIBAVCODEC_VERSION_MAJOR 52 |
33 #define LIBAVCODEC_VERSION_MINOR 6 | 33 #define LIBAVCODEC_VERSION_MINOR 6 |
34 #define LIBAVCODEC_VERSION_MICRO 0 | 34 #define LIBAVCODEC_VERSION_MICRO 1 |
35 | 35 |
36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
37 LIBAVCODEC_VERSION_MINOR, \ | 37 LIBAVCODEC_VERSION_MINOR, \ |
38 LIBAVCODEC_VERSION_MICRO) | 38 LIBAVCODEC_VERSION_MICRO) |
39 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ | 39 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ |
2996 * @param[in,out] frame_rate pointer to the AVRational which will contain the detected | 2996 * @param[in,out] frame_rate pointer to the AVRational which will contain the detected |
2997 * frame rate | 2997 * frame rate |
2998 */ | 2998 */ |
2999 int av_parse_video_frame_rate(AVRational *frame_rate, const char *str); | 2999 int av_parse_video_frame_rate(AVRational *frame_rate, const char *str); |
3000 | 3000 |
3001 /** | |
3002 * Logs a generic warning message about a missing feature. | |
3003 * @param[in] avc a pointer to an arbitrary struct of which the first field is | |
3004 * a pointer to an AVClass struct | |
3005 * @param[in] feature string containing the name of the missing feature | |
3006 * @param[in] want_sample indicates if samples are wanted which exhibit this feature. | |
3007 * If \p want_sample is non-zero, additional verbage will be added to the log | |
3008 * message which tells the user how to report samples to the development | |
3009 * mailing list. | |
3010 */ | |
3011 void av_log_missing_feature(void *avc, const char *feature, int want_sample); | |
3012 | |
3013 /* error handling */ | 3001 /* error handling */ |
3014 #if EINVAL > 0 | 3002 #if EINVAL > 0 |
3015 #define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */ | 3003 #define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */ |
3016 #define AVUNERROR(e) (-(e)) /**< Returns a POSIX error code from a library function error return value. */ | 3004 #define AVUNERROR(e) (-(e)) /**< Returns a POSIX error code from a library function error return value. */ |
3017 #else | 3005 #else |