| 1795 | } |
| 1796 | |
| 1797 | static 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 | |
| 1810 | static OutputStream *new_attachment_stream(OptionsContext *o, AVFormatContext *oc, int source_index) |
| 1811 | { |
no test coverage detected