Skip to content

Commit ecfed3f

Browse files
author
Clement Champetier
committed
StreamTranscoder: fixed processRewrap
* In this case, '_inputStreams.size() == 1' is always true! * Anyway, we should check the '_currentInputStream' attribute because it is used in the method.
1 parent 9341a4c commit ecfed3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/transcoder/StreamTranscoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ bool StreamTranscoder::processFrame()
451451

452452
bool StreamTranscoder::processRewrap()
453453
{
454-
assert(_inputStreams.size() != 1);
454+
assert(_currentInputStream != NULL);
455455
assert(_outputStream != NULL);
456456

457457
LOG_DEBUG("StreamTranscoder::processRewrap")

0 commit comments

Comments
 (0)