Menu

#19 suspect assigment in CAAFJPEGCodec.cpp

open
nobody
None
5
2003-03-03
2003-03-03
Jim Trainor
No

The follow format specifier assignment in the JPEG
codec is suspicious:

param.operand.expFieldDominance = _pixelFormat;
checkResult(fmt->AddFormatSpecifier
(kAAFFieldDominance, sizeof
(param.operand.expFieldDominance), (aafDataBuffer_t)
&param.operand.expFieldDominance));

... if for some odd reason it turns out to be correct, then
a comment would be in order.

Discussion