AVI container: use C++ streams for file operations, check some operations for overflow

This commit is contained in:
Maksim Shabunin
2018-07-13 14:07:30 +03:00
parent 4a3dfffd46
commit 53eb27f508
2 changed files with 66 additions and 57 deletions
@@ -153,7 +153,7 @@ public:
bool initContainer(const String& filename, double fps, Size size, bool iscolor);
void startWriteAVI(int stream_count);
void writeStreamHeader(Codecs codec_);
void startWriteChunk(int fourcc);
void startWriteChunk(uint32_t fourcc);
void endWriteChunk();
int getAVIIndex(int stream_number, StreamType strm_type);