| 1782 | } |
| 1783 | |
| 1784 | static 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 | |
| 1797 | static OutputStream *new_unknown_stream(OptionsContext *o, AVFormatContext *oc, int source_index) |
| 1798 | { |
no test coverage detected