From c45ce5cc4e54bdae2fd45a130d8957ec55b51b1b Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 14:12:12 +0000 Subject: A few fixes recommended by PVS Studio --- nGenEx/AviFile.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'nGenEx/AviFile.h') diff --git a/nGenEx/AviFile.h b/nGenEx/AviFile.h index 495693a..6421504 100644 --- a/nGenEx/AviFile.h +++ b/nGenEx/AviFile.h @@ -43,18 +43,18 @@ public: HRESULT GetFrame(double seconds, Bitmap& bmp); private: - Text filename; - Rect rect; - int fps; - bool play; - - IAVIFile* pfile; // created by CreateAvi - IAVIStream* ps; - IAVIStream* ps_comp; // video stream, when first created - DWORD frame_size; // total bytes per frame of video - DWORD nframe; // which frame will be added next - DWORD nsamp; // which sample will be added next - bool iserr; // if true, then no function will do anything + Rect rect; + Text filename; + int fps; + + IAVIFile* pfile; // created by CreateAvi + IAVIStream* ps; + IAVIStream* ps_comp; // video stream, when first created + DWORD frame_size; // total bytes per frame of video + DWORD nframe; // which frame will be added next + DWORD nsamp; // which sample will be added next + bool play; + bool iserr; // if true, then no function will do anything }; // +--------------------------------------------------------------------+ -- cgit v1.1