From 1790d3b330800e8ec6844392aa501fb558ae25e1 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 20 Sep 2010 21:48:03 +0000 Subject: Move log_callback_help to cmdutils.[hc], for allowing sharing. Originally committed as revision 25149 to svn://svn.ffmpeg.org/ffmpeg/trunk --- cmdutils.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cmdutils.h') diff --git a/cmdutils.h b/cmdutils.h index d48abab30e..68a29b4033 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -44,6 +44,12 @@ extern AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB]; extern AVFormatContext *avformat_opts; extern struct SwsContext *sws_opts; +/** + * Trivial log callback. + * Only suitable for show_help and similar since it lacks prefix handling. + */ +void log_callback_help(void* ptr, int level, const char* fmt, va_list vl); + /** * Fallback for options that are not explicitly handled, these will be * parsed through AVOptions. -- cgit v1.2.3