We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28dc5fe commit a85f867Copy full SHA for a85f867
src/AvTranscoder/transcoder/StreamTranscoder.cpp
@@ -165,6 +165,9 @@ StreamTranscoder::StreamTranscoder(const std::vector<InputStreamDesc>& inputStre
165
}
166
167
168
+ if(_firstInputStreamIndex == std::numeric_limits<size_t>::max())
169
+ throw std::runtime_error("Cannot handle empty only input streams");
170
+
171
IInputStream& inputStream = *_inputStreams.at(_firstInputStreamIndex);
172
const InputStreamDesc& inputStreamDesc = inputStreamsDesc.at(_firstInputStreamIndex);
173
0 commit comments