diff --git a/webm2pes.cc b/webm2pes.cc index cfdcc04..9dee7f9 100644 --- a/webm2pes.cc +++ b/webm2pes.cc @@ -243,7 +243,7 @@ bool PesHeader::Write(std::FILE* file, bool write_pts) const { // Webm2Pes methods. // -bool Webm2Pes::Convert() { +bool Webm2Pes::ConvertToFile() { if (input_file_name_.empty() || output_file_name_.empty()) { std::fprintf(stderr, "Webm2Pes: input and/or output file name(s) empty.\n"); return false; diff --git a/webm2pes.h b/webm2pes.h index f83467b..e3821e1 100644 --- a/webm2pes.h +++ b/webm2pes.h @@ -169,9 +169,9 @@ class Webm2Pes { Webm2Pes(Webm2Pes&&) = delete; ~Webm2Pes() = default; - // Converts the VPx video stream to a PES and returns true. Returns false + // Converts the VPx video stream to a PES file and returns true. Returns false // to report failure. - bool Convert(); + bool ConvertToFile(); private: // fclose functor for wrapping FILE in std::unique_ptr. diff --git a/webm2pes_main.cc b/webm2pes_main.cc index d554f66..09b8553 100644 --- a/webm2pes_main.cc +++ b/webm2pes_main.cc @@ -28,5 +28,5 @@ int main(int argc, const char* argv[]) { const std::string output_path = argv[2]; libwebm::Webm2Pes converter(input_path, output_path); - return converter.Convert() == true ? EXIT_SUCCESS : EXIT_FAILURE; + return converter.ConvertToFile() == true ? EXIT_SUCCESS : EXIT_FAILURE; }