Force VfW FOURCC characters to upper case.
This commit is contained in:
parent
ba5be09a28
commit
062c4c527d
|
@ -543,7 +543,11 @@ int aviRecordOpenFile( const char *filepath )
|
|||
else if ( videoFormat == AVI_VFW )
|
||||
{
|
||||
memcpy( fourcc, &VFW::cmpvars.fccHandler, 4);
|
||||
printf("Set VFW FourCC: %s", fourcc);
|
||||
for (int i=0; i<4; i++)
|
||||
{
|
||||
fourcc[i] = toupper(fourcc[i]);
|
||||
}
|
||||
printf("Set VFW FourCC: %s\n", fourcc);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue