# HG changeset patch # User nicodvb # Date 1193428931 0 # Node ID e69fd694b7673c511a233b3876294e3a965f16f6 # Parent 005c0fd8d3eb522b3a0924bfddea031b4830aa37 print newline after program id even when the name is missing diff -r 005c0fd8d3eb -r e69fd694b767 utils.c --- a/utils.c Fri Oct 26 15:12:55 2007 +0000 +++ b/utils.c Fri Oct 26 20:02:11 2007 +0000 @@ -2580,9 +2580,8 @@ if(ic->nb_programs) { int j, k; for(j=0; jnb_programs; j++) { - av_log(NULL, AV_LOG_INFO, " Program %d", ic->programs[j]->id); - if(ic->programs[j]->name) - av_log(NULL, AV_LOG_INFO, " \"%s\"\n", ic->programs[j]->name); + av_log(NULL, AV_LOG_INFO, " Program %d %s\n", ic->programs[j]->id, + ic->programs[j]->name ? ic->programs[j]->name : ""); for(k=0; kprograms[j]->nb_stream_indexes; k++) dump_stream_format(ic, ic->programs[j]->stream_index[k], index, is_output); }