Skip to content

Commit

Permalink
Write correct number of frames
Browse files Browse the repository at this point in the history
  • Loading branch information
puzzlepaint authored Aug 10, 2018
1 parent 666ded5 commit da51745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void convertToKlg(
std::string filename = strKlgFileName;//"test2.klg";
FILE * logFile = fopen(filename.c_str(), "wb+");

int32_t numFrames = (int32_t)vec_info.size() - 1;
int32_t numFrames = (int32_t)vec_info.size();

fwrite(&numFrames, sizeof(int32_t), 1, logFile);

Expand Down

0 comments on commit da51745

Please sign in to comment.