diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-09-20 12:57:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-09-20 12:57:20 +0000 |
commit | d2752a0ddf176916c375c8e3c4a7a6e9d22164ee (patch) | |
tree | 4b1e9676a9ee8d31d2cfd481d3bfc5cdb48259a7 /libavcodec/opt.c | |
parent | 7df6545556367b62f6a122faf3298676c301af71 (diff) | |
download | ffmpeg-d2752a0ddf176916c375c8e3c4a7a6e9d22164ee.tar.gz |
dont print NULL
Originally committed as revision 4600 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.c')
-rw-r--r-- | libavcodec/opt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c index 8934c23d4e..9a3cd80eeb 100644 --- a/libavcodec/opt.c +++ b/libavcodec/opt.c @@ -264,7 +264,9 @@ int av_opt_show(void *obj, void *av_log_obj){ av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_AUDIO_PARAM ) ? 'A' : '.'); av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_SUBTITLE_PARAM) ? 'S' : '.'); - av_log(av_log_obj, AV_LOG_INFO, " %s\n", opt->help); + if(opt->help) + av_log(av_log_obj, AV_LOG_INFO, " %s", opt->help); + av_log(av_log_obj, AV_LOG_INFO, "\n"); } return 0; } |