Fixed RTMP analyser printing errors when there were no real errors, at end of stream.
This commit is contained in:
parent
05d3375412
commit
6dfe97a9c2
1 changed files with 5 additions and 2 deletions
|
@ -183,8 +183,11 @@ namespace Analysers {
|
|||
} //switch for type of chunk
|
||||
}else{ //if chunk parsed
|
||||
if (std::cin.good()){
|
||||
inbuffer += std::cin.get();
|
||||
char newchar = std::cin.get();
|
||||
if (std::cin.good()){
|
||||
inbuffer += newchar;
|
||||
++read_in;
|
||||
}
|
||||
}else{
|
||||
inbuffer.clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue