Skip to content

Commit 9fd9e9d

Browse files
author
Clement Champetier
committed
StreamTranscoder: fixed end of offset in case of rewrap
1 parent 83bea1a commit 9fd9e9d

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
@@ -448,7 +448,7 @@ bool StreamTranscoder::processFrame()
448448
{
449449
LOG_INFO("End of positive offset")
450450

451-
if(_inputDecoders.at(0))
451+
if(! _inputDecoders.empty())
452452
switchToInputDecoder();
453453
else
454454
_currentDecoder = NULL;

0 commit comments

Comments
 (0)