MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / demux_alloc

Function demux_alloc

fftools/ffmpeg_demux.c:1858–1871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1856};
1857
1858static Demuxer *demux_alloc(void)
1859{
1860 Demuxer *d = allocate_array_elem(&input_files, sizeof(*d), &nb_input_files);
1861
1862 if (!d)
1863 return NULL;
1864
1865 d->f.class = &input_file_class;
1866 d->f.index = nb_input_files - 1;
1867
1868 snprintf(d->log_name, sizeof(d->log_name), "in#%d", d->f.index);
1869
1870 return d;
1871}
1872
1873int ifile_open(const OptionsContext *o, const char *filename, Scheduler *sch)
1874{

Callers 1

ifile_openFunction · 0.85

Calls 1

allocate_array_elemFunction · 0.85

Tested by

no test coverage detected