]> git.sesse.net Git - ffmpeg/commitdiff
Move av_log_missing_feature() from the internal.h to the public avcodec.h
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 29 Jun 2009 19:11:53 +0000 (19:11 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Mon, 29 Jun 2009 19:11:53 +0000 (19:11 +0000)
header file.

Originally committed as revision 19295 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h
libavcodec/internal.h

index 1705961969b9b727aafc86e0785749336a1383bd..de777b8719224086fd82c681206084036bd279b7 100644 (file)
@@ -3716,6 +3716,26 @@ int av_parse_video_frame_rate(AVRational *frame_rate, const char *str);
 #define AVERROR_EOF         AVERROR(EPIPE)   /**< End of file. */
 #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.
  */
index 8adf2e736bef03ef430e92deeeb5d84d5e29b4ba..ce8dad057d901fa01aee64d8551dbcc21d5cc2c6 100644 (file)
 #include <stdint.h>
 #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.
  */