Commit f5123b7a authored by nicodvb's avatar nicodvb

print newline after program id even when the name is missing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10864 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c8c3b8ec
...@@ -2580,9 +2580,8 @@ void dump_format(AVFormatContext *ic, ...@@ -2580,9 +2580,8 @@ void dump_format(AVFormatContext *ic,
if(ic->nb_programs) { if(ic->nb_programs) {
int j, k; int j, k;
for(j=0; j<ic->nb_programs; j++) { for(j=0; j<ic->nb_programs; j++) {
av_log(NULL, AV_LOG_INFO, " Program %d", ic->programs[j]->id); av_log(NULL, AV_LOG_INFO, " Program %d %s\n", ic->programs[j]->id,
if(ic->programs[j]->name) ic->programs[j]->name ? ic->programs[j]->name : "");
av_log(NULL, AV_LOG_INFO, " \"%s\"\n", ic->programs[j]->name);
for(k=0; k<ic->programs[j]->nb_stream_indexes; k++) for(k=0; k<ic->programs[j]->nb_stream_indexes; k++)
dump_stream_format(ic, ic->programs[j]->stream_index[k], index, is_output); dump_stream_format(ic, ic->programs[j]->stream_index[k], index, is_output);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment