aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-20 21:48:03 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-20 21:48:03 +0000
commit1790d3b330800e8ec6844392aa501fb558ae25e1 (patch)
treeeb0d148b691cdee96aae8b836c8dc144584465be /cmdutils.c
parent4792d1e792788ea3bab2e9aed9d345fe9c9c7ba2 (diff)
downloadffmpeg-1790d3b330800e8ec6844392aa501fb558ae25e1.tar.gz
Move log_callback_help to cmdutils.[hc], for allowing sharing.
Originally committed as revision 25149 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c
index a79c38ea3e..382c6c1809 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -56,6 +56,11 @@ struct SwsContext *sws_opts;
const int this_year = 2010;
+void log_callback_help(void* ptr, int level, const char* fmt, va_list vl)
+{
+ vfprintf(stdout, fmt, vl);
+}
+
double parse_number_or_die(const char *context, const char *numstr, int type, double min, double max)
{
char *tail;