Move log_callback_help to cmdutils.[hc], for allowing sharing.

Originally committed as revision 25149 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini
2010-09-20 21:48:03 +00:00
parent 4792d1e792
commit 1790d3b330
3 changed files with 11 additions and 9 deletions

View File

@@ -3870,15 +3870,6 @@ static void opt_intra_matrix(const char *arg)
parse_matrix_coeffs(intra_matrix, arg);
}
/**
* Trivial log callback.
* Only suitable for show_help and similar since it lacks prefix handling.
*/
static void log_callback_help(void* ptr, int level, const char* fmt, va_list vl)
{
vfprintf(stdout, fmt, vl);
}
static void show_usage(void)
{
printf("Hyper fast Audio and Video encoder\n");