dont print NULL

Originally committed as revision 4600 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-09-20 12:57:20 +00:00
parent 7df6545556
commit d2752a0ddf
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}