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

Function new_unknown_stream

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

Source from the content-addressed store, hash-verified

1795}
1796
1797static OutputStream *new_unknown_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1798{
1799 OutputStream *ost;
1800
1801 ost = new_output_stream(o, oc, AVMEDIA_TYPE_UNKNOWN, source_index);
1802 if (!ost->stream_copy) {
1803 av_log(NULL, AV_LOG_FATAL, "Unknown stream encoding not supported yet (only streamcopy)\n");
1804 exit_program(1);
1805 }
1806
1807 return ost;
1808}
1809
1810static OutputStream *new_attachment_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1811{

Callers 1

open_output_fileFunction · 0.85

Calls 2

new_output_streamFunction · 0.85
exit_programFunction · 0.85

Tested by

no test coverage detected