webm2pes: fflush() in the correct conversion function.
Change-Id: I79db8b24178d4e7ba205995525b74a09efef8a04
This commit is contained in:
@@ -274,6 +274,7 @@ bool Webm2Pes::ConvertToFile() {
|
||||
cluster = webm_parser_->GetNext(cluster);
|
||||
}
|
||||
|
||||
std::fflush(output_file_.get());
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -340,7 +341,6 @@ bool Webm2Pes::ConvertToPacketReceiver() {
|
||||
cluster = webm_parser_->GetNext(cluster);
|
||||
}
|
||||
|
||||
std::fflush(output_file_.get());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user