Revision f473666f libavformat/utils.c

View differences:

libavformat/utils.c
2580 2580
    if(ic->nb_programs) {
2581 2581
        int j, k;
2582 2582
        for(j=0; j<ic->nb_programs; j++) {
2583
            av_log(NULL, AV_LOG_INFO, "  Program %d", ic->programs[j]->id);
2584
            if(ic->programs[j]->name)
2585
                av_log(NULL, AV_LOG_INFO, " \"%s\"\n", ic->programs[j]->name);
2583
            av_log(NULL, AV_LOG_INFO, "  Program %d %s\n", ic->programs[j]->id,
2584
                   ic->programs[j]->name ? ic->programs[j]->name : "");
2586 2585
            for(k=0; k<ic->programs[j]->nb_stream_indexes; k++)
2587 2586
                dump_stream_format(ic, ic->programs[j]->stream_index[k], index, is_output);
2588 2587
         }

Also available in: Unified diff