- 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 : "");