summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-11 23:45:00 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-11 23:45:00 +0000
commit6dfafe109d89f74d485f54aef5387e59d86abf1d (patch)
treef28c14110faca186f84f1926b740571cb14fffea /ffmpeg.c
parentea66253452daa6084882d76c0d29c8ef92332f10 (diff)
set log debug when avformat debug is set
Originally committed as revision 13750 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index dd0eeb885c..0ce61a39bd 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2214,7 +2214,7 @@ static int opt_default(const char *opt, const char *arg){
opt_names= av_realloc(opt_names, sizeof(void*)*(opt_name_count+1));
opt_names[opt_name_count++]= o->name;
- if(avctx_opts[0]->debug)
+ if(avctx_opts[0]->debug || avformat_opts->debug)
av_log_set_level(AV_LOG_DEBUG);
return 0;
}