set log level to AV_LOG_DEBUG if -debug ... is used

Originally committed as revision 4359 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2005-06-07 21:53:56 +00:00
parent fc565b22fc
commit 1ab1f099eb
2 changed files with 3 additions and 0 deletions

View File

@@ -2291,6 +2291,7 @@ static void opt_error_concealment(const char *arg)
static void opt_debug(const char *arg)
{
debug = atoi(arg);
av_log_set_level(AV_LOG_DEBUG);
}
static void opt_vismv(const char *arg)