clean up the VideoDemuxer class to make it follow the Google c++ style (#7)

Этот коммит содержится в:
Aryan Salmanpour
2023-09-15 14:19:14 -04:00
коммит произвёл GitHub
родитель 4ea67e279d
Коммит b05e69b953
3 изменённых файлов: 66 добавлений и 66 удалений
+2 -2
Просмотреть файл
@@ -28,7 +28,7 @@ THE SOFTWARE.
#include <sys/stat.h>
#include <libgen.h>
#include <filesystem>
#include "videoDemuxer.hpp"
#include "video_demuxer.hpp"
#include "rocdecode.h"
void ShowHelpAndExit(const char *option = NULL) {
@@ -103,7 +103,7 @@ int main(int argc, char **argv) {
do {
auto startTime = std::chrono::high_resolution_clock::now();
demuxer.demux(&pVideo, &nVideoBytes, &pts);
demuxer.Demux(&pVideo, &nVideoBytes, &pts);
//nFrameReturned = viddec.decode(pVideo, nVideoBytes, pts);
auto endTime = std::chrono::high_resolution_clock::now();
auto timePerFrame = std::chrono::duration<double, std::milli>(endTime - startTime).count();