MCPcopy Create free account
hub / github.com/byhook/ffmpeg4android / new_data_stream

Function new_data_stream

ffmpeg-single-cmd/src/main/cpp/ffmpeg_opt.c:1784–1795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1782}
1783
1784static OutputStream *new_data_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1785{
1786 OutputStream *ost;
1787
1788 ost = new_output_stream(o, oc, AVMEDIA_TYPE_DATA, source_index);
1789 if (!ost->stream_copy) {
1790 av_log(NULL, AV_LOG_FATAL, "Data stream encoding not supported yet (only streamcopy)\n");
1791 exit_program(1);
1792 }
1793
1794 return ost;
1795}
1796
1797static OutputStream *new_unknown_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1798{

Callers 1

open_output_fileFunction · 0.85

Calls 2

new_output_streamFunction · 0.85
exit_programFunction · 0.85

Tested by

no test coverage detected