• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/

Lines Matching defs:config

245     char *config;
252 config = av_malloc(10 + c->extradata_size * 2);
253 if (config == NULL) {
254 av_log(c, AV_LOG_ERROR, "Cannot allocate memory for the config info.\n");
257 memcpy(config, "; config=", 9);
258 ff_data_to_hex(config + 9, c->extradata, c->extradata_size, 0);
259 config[9 + c->extradata_size * 2] = 0;
261 return config;
266 char *config, *encoded_config;
298 config = av_malloc(config_len);
299 if (!config)
304 av_free(config);
308 config[0] = config[1] = config[2] = 0;
309 config[3] = 1;
310 config[4] = (RTP_XIPH_IDENT >> 16) & 0xff;
311 config[5] = (RTP_XIPH_IDENT >> 8) & 0xff;
312 config[6] = (RTP_XIPH_IDENT ) & 0xff;
313 config[7] = (headers_len >> 8) & 0xff;
314 config[8] = headers_len & 0xff;
315 config[9] = 2;
316 config[10] = header_len[0];
317 config[11] = 0; // size of comment header; nonexistent
318 memcpy(config + 12, header_start[0], header_len[0]);
319 memcpy(config + 12 + header_len[0], header_start[2], header_len[2]);
322 config, config_len);
323 av_free(config);
370 char *config;
387 config = av_malloc(6*2+1);
388 if (!config) {
389 av_log(c, AV_LOG_ERROR, "Cannot allocate memory for the config info.\n");
392 ff_data_to_hex(config, config_byte, 6, 1);
393 config[12] = 0;
395 return config;
400 char *config = NULL;
409 config = extradata2psets(c);
414 payload_type, mode, config ? config : "");
433 config = extradata2config(c);
438 payload_type, config ? config : "");
443 config = latm_context2config(c);
444 if (!config)
447 "a=fmtp:%d profile-level-id=%d;cpresent=0;config=%s\r\n",
449 payload_type, latm_context2profilelevel(c), config);
452 config = extradata2config(c);
454 /* FIXME: maybe we can forge config information based on the
460 if (config == NULL) {
468 payload_type, config);
503 config = xiph_extradata2config(c);
506 if (!config)
512 payload_type, config);
532 config = xiph_extradata2config(c);
535 if (!config)
543 c->width, c->height, pix_fmt, config);
602 av_free(config);