Revision 20e021c7

View differences:

cmdutils.c
230 230
    opt_names= av_realloc(opt_names, sizeof(void*)*(opt_name_count+1));
231 231
    opt_names[opt_name_count++]= o->name;
232 232

  
233
    if(avcodec_opts[0]->debug || avformat_opts->debug)
233
    if ((*avcodec_opts && avcodec_opts[0]->debug) || (avformat_opts && avformat_opts->debug))
234 234
        av_log_set_level(AV_LOG_DEBUG);
235 235
    return 0;
236 236
}

Also available in: Unified diff