[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec opt.c,1.8,1.9
Michael Niedermayer CVS
michael
Tue Sep 20 14:57:22 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv15241
Modified Files:
opt.c
Log Message:
dont print NULL
Index: opt.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/opt.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- opt.c 12 Sep 2005 18:24:48 -0000 1.8
+++ opt.c 20 Sep 2005 12:57:20 -0000 1.9
@@ -264,7 +264,9 @@
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;
}
More information about the ffmpeg-cvslog
mailing list