OOPS, sorry guys
This commit is contained in:
parent
f1aa73d511
commit
9c2369fac6
|
@ -231,7 +231,7 @@ static int avi_open(const char* filename, const BITMAPINFOHEADER* pbmih, const W
|
||||||
|
|
||||||
memset(&avi_file->avi_video_header, 0, sizeof(AVISTREAMINFO));
|
memset(&avi_file->avi_video_header, 0, sizeof(AVISTREAMINFO));
|
||||||
avi_file->avi_video_header.fccType = streamtypeVIDEO;
|
avi_file->avi_video_header.fccType = streamtypeVIDEO;
|
||||||
avi_file->avi_video_header.dwScale = 65536*256 // 6*355*263;
|
avi_file->avi_video_header.dwScale = 65536*256; // 6*355*263;
|
||||||
avi_file->avi_video_header.dwRate = (int)(59.8261*65536*256); // 33513982;
|
avi_file->avi_video_header.dwRate = (int)(59.8261*65536*256); // 33513982;
|
||||||
avi_file->avi_video_header.dwSuggestedBufferSize = avi_file->bitmap_format.biSizeImage;
|
avi_file->avi_video_header.dwSuggestedBufferSize = avi_file->bitmap_format.biSizeImage;
|
||||||
if(FAILED(AVIFileCreateStream(avi_file->avi_file, &avi_file->streams[VIDEO_STREAM], &avi_file->avi_video_header)))
|
if(FAILED(AVIFileCreateStream(avi_file->avi_file, &avi_file->streams[VIDEO_STREAM], &avi_file->avi_video_header)))
|
||||||
|
|
Loading…
Reference in New Issue