# HG changeset patch # User rbultje # Date 1246302713 0 # Node ID b5ca6219e1733ccd824344f24873588f6d0e9915 # Parent 7ad7d4094d1f3bf19ea215fdf01cd65674dd96f4 Move av_log_missing_feature() from the internal.h to the public avcodec.h header file. diff -r 7ad7d4094d1f -r b5ca6219e173 avcodec.h --- a/avcodec.h Mon Jun 29 19:07:04 2009 +0000 +++ b/avcodec.h Mon Jun 29 19:11:53 2009 +0000 @@ -3717,6 +3717,26 @@ #define AVERROR_PATCHWELCOME -MKTAG('P','A','W','E') /**< Not yet implemented in FFmpeg. Patches welcome. */ /** + * Logs a generic warning message about a missing feature. + * @param[in] avc a pointer to an arbitrary struct of which the first field is + * a pointer to an AVClass struct + * @param[in] feature string containing the name of the missing feature + * @param[in] want_sample indicates if samples are wanted which exhibit this feature. + * If want_sample is non-zero, additional verbage will be added to the log + * message which tells the user how to report samples to the development + * mailing list. + */ +void av_log_missing_feature(void *avc, const char *feature, int want_sample); + +/** + * Logs a generic warning message asking for a sample. + * @param[in] avc a pointer to an arbitrary struct of which the first field is + * a pointer to an AVClass struct + * @param[in] msg string containing an optional message, or NULL if no message + */ +void av_log_ask_for_sample(void *avc, const char *msg); + +/** * Registers the hardware accelerator hwaccel. */ void av_register_hwaccel(AVHWAccel *hwaccel); diff -r 7ad7d4094d1f -r b5ca6219e173 internal.h --- a/internal.h Mon Jun 29 19:07:04 2009 +0000 +++ b/internal.h Mon Jun 29 19:11:53 2009 +0000 @@ -28,26 +28,6 @@ #include "avcodec.h" /** - * Logs a generic warning message about a missing feature. - * @param[in] avc a pointer to an arbitrary struct of which the first field is - * a pointer to an AVClass struct - * @param[in] feature string containing the name of the missing feature - * @param[in] want_sample indicates if samples are wanted which exhibit this feature. - * If want_sample is non-zero, additional verbage will be added to the log - * message which tells the user how to report samples to the development - * mailing list. - */ -void av_log_missing_feature(void *avc, const char *feature, int want_sample); - -/** - * Logs a generic warning message asking for a sample. - * @param[in] avc a pointer to an arbitrary struct of which the first field is - * a pointer to an AVClass struct - * @param[in] msg string containing an optional message, or NULL if no message - */ -void av_log_ask_for_sample(void *avc, const char *msg); - -/** * Determines whether pix_fmt is a hardware accelerated format. */ int ff_is_hwaccel_pix_fmt(enum PixelFormat pix_fmt);